1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/RuntimeUtil.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/RuntimeUtil.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -29,16 +29,7 @@ 1.4 import java.util.HashMap; 1.5 import java.util.Map; 1.6 1.7 -import javax.xml.bind.ValidationEvent; 1.8 import javax.xml.bind.annotation.adapters.XmlAdapter; 1.9 -import javax.xml.bind.helpers.PrintConversionEventImpl; 1.10 -import javax.xml.bind.helpers.ValidationEventImpl; 1.11 -import javax.xml.bind.helpers.ValidationEventLocatorImpl; 1.12 - 1.13 -import com.sun.xml.internal.bind.util.ValidationEventLocatorExImpl; 1.14 - 1.15 -import org.xml.sax.SAXException; 1.16 - 1.17 1.18 /** 1.19 * @author Kohsuke Kawaguchi 1.20 @@ -95,6 +86,7 @@ 1.21 /** 1.22 * Reports a print conversion error while marshalling. 1.23 */ 1.24 +/* 1.25 public static void handlePrintConversionException( 1.26 Object caller, Exception e, XMLSerializer serializer ) throws SAXException { 1.27 1.28 @@ -109,10 +101,12 @@ 1.29 new ValidationEventLocatorImpl(caller), e ); 1.30 serializer.reportError(ve); 1.31 } 1.32 +*/ 1.33 1.34 /** 1.35 * Reports that the type of an object in a property is unexpected. 1.36 */ 1.37 +/* 1.38 public static void handleTypeMismatchError( XMLSerializer serializer, 1.39 Object parentObject, String fieldName, Object childObject ) throws SAXException { 1.40 1.41 @@ -126,6 +120,7 @@ 1.42 1.43 serializer.reportError(ve); 1.44 } 1.45 +*/ 1.46 1.47 private static String getTypeName( Object o ) { 1.48 return o.getClass().getName();