1.1 --- a/src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -256,7 +256,8 @@ 1.11 } 1.12 1.13 public boolean parseBoolean(String lexicalXSDBoolean) { 1.14 - return _parseBoolean(lexicalXSDBoolean); 1.15 + Boolean b = _parseBoolean(lexicalXSDBoolean); 1.16 + return (b == null) ? false : b.booleanValue(); 1.17 } 1.18 1.19 public static Boolean _parseBoolean(CharSequence literal) {