1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/JaxmURI.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/JaxmURI.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 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 @@ -450,7 +450,7 @@ 1.11 1.12 // if we get to this point, we need to resolve relative path 1.13 // RFC 2396 5.2 #6 1.14 - String path = new String(); 1.15 + String path = ""; 1.16 String basePath = p_base.getPath(); 1.17 1.18 // 6a - get all but the last segment of the base URI path 1.19 @@ -1137,6 +1137,11 @@ 1.20 return false; 1.21 } 1.22 1.23 + public int hashCode() { 1.24 + // No members safe to use, just default to a constant. 1.25 + return 153214; 1.26 + } 1.27 + 1.28 /** 1.29 * Get the URI as a string specification. See RFC 2396 Section 5.2. 1.30 *