--- old/src/share/jaxws_classes/com/sun/tools/internal/xjc/Messages.java 2013-04-04 15:27:00.492612663 +0200 +++ new/src/share/jaxws_classes/com/sun/tools/internal/xjc/Messages.java 2013-04-04 15:27:00.448612662 +0200 @@ -31,10 +31,10 @@ /** * Formats error messages. */ -class Messages +public class Messages { /** Loads a string resource and formats it with specified arguments. */ - static String format( String property, Object... args ) { + public static String format( String property, Object... args ) { String text = ResourceBundle.getBundle(Messages.class.getPackage().getName() +".MessageBundle").getString(property); return MessageFormat.format(text,args); }