changeset 98:938a80a47670

6732461: broken message file for annotation processing Summary: Regression in sqe test introduced in 6720185 Reviewed-by: jjg
author mcimadamore
date Fri, 08 Aug 2008 17:52:02 +0100
parents fac6b1beaa5a
children eefde0421566
files src/share/classes/com/sun/tools/apt/util/Bark.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/apt/util/Bark.java	Fri Aug 08 17:48:04 2008 +0100
+++ b/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");