6732461: broken message file for annotation processing
Summary: Regression in sqe test introduced in 6720185
Reviewed-by: jjg
--- a/langtools/src/share/classes/com/sun/tools/apt/util/Bark.java Fri Aug 08 17:48:04 2008 +0100
+++ b/langtools/src/share/classes/com/sun/tools/apt/util/Bark.java Fri Aug 08 17:52:02 2008 +0100
@@ -87,7 +87,7 @@
context.put(barkKey, this);
// register additional resource bundle for APT messages.
- Messages aptMessages = new Messages(Messages.getDefaultBundle());
+ Messages aptMessages = Messages.instance(context);
aptMessages.add("com.sun.tools.apt.resources.apt");
aptDiags = new JCDiagnostic.Factory(aptMessages, "apt");