Since the fix for 6328930, rmid's resource property files, whose sources are in src/share/classes/sun/rmi/server/resources, are getting copied to the path sun/rmi/server/resources within rt.jar instead of the path sun/rmi/rmid/resources where they had always previously been copied to. The rmid implementation still looks up its resource bundle using ResourceBundle.getBundle("sun.rmi.rmid.resources.rmid"), so it now fails to output the proper messages, like this:
[terrier] 68 % rmid foo
rmid: [missing resource file: rmid.syntax.illegal.option]
[missing resource file: rmid.usage]
This problem is also causing the following regression tests to fail:
java/rmi/activation/checkusage/CheckUsage.java
java/rmi/activation/CommandEnvironment/SetChildEnv.java
[terrier] 68 % rmid foo
rmid: [missing resource file: rmid.syntax.illegal.option]
[missing resource file: rmid.usage]
This problem is also causing the following regression tests to fail:
java/rmi/activation/checkusage/CheckUsage.java
java/rmi/activation/CommandEnvironment/SetChildEnv.java
- relates to
-
JDK-6328930 Cleanup Resources.gmk and use of CompileProperties
-
- Closed
-