--- old/src/java.xml.bind/share/classes/javax/xml/bind/DatatypeConverterImpl.java 2015-07-08 13:25:03.000000000 +0200 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/DatatypeConverterImpl.java 2015-07-08 13:25:02.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -124,7 +124,7 @@ } public static long _parseLong(CharSequence s) { - return Long.valueOf(removeOptionalPlus(WhiteSpaceProcessor.trim(s)).toString()); + return Long.parseLong(removeOptionalPlus(WhiteSpaceProcessor.trim(s)).toString()); } public short parseShort(String lexicalXSDShort) {