This bug occurs on Linux and solaris -sparc Platforms . Here is the description for both :
LINUX :
=======
"javah -old" option fails to generate the JDK1.0-style header file when used on Linux platforms using build 72 of merlin. It throws the following exception :
**********
java.util.MissingResourceException: Can't find bundle for base name com.sun.tool
s.javah.resources.Redhat Linux_x86, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
To reproduce the bug :
1. Make a directory and copy the attached files to that directory.
2. Compile the attached files named "File.java" "InputFile.java" "OutputFile.java" and "XX.java"
/home/ls121046/Masterws/javah/tests/OK % javac *.java
2. Run the following command on compiled files :
javah -old File InputFile OutputFile
here is the exception which is being thrown :
*********************************************************************
/home/ls121046/Masterws/javah/tests/OK % javah -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tool
s.javah.resources.Redhat Linux_x86, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
IMPORTANT NOTES :
1. I have also tried the same with previous builds also. It passes for build 68 but fails with b69, 70 , 71 , 72
2. I also tested it for build 73 and it is failing
3. I have tested it on the following Linux platforms :
RH7.1
Caldera
RH6.2
Turbo Linux
It fails on all the above mentioned platforms .
*****************************************************************************
SOLARIS -SPARC
===============
"javah -d64 -server -old" option fails to generate the JDK1.0-style header file when used on Solaris -sparc(64) platforms using build 72 of merlin.
NOTE : It fails for Solaris-sparc (64) only when javah is used with the Flags "-d64 -server". It passes with "-d32" option
It throws the following exception :
**********
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK 122 % javah -d64 -server -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.SunOS_sparcv9, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
To reproduce the bug :
1. Make a directory and copy the attached files to that directory.
2. Compile the attached files named "File.java" "InputFile.java" "OutputFile.java" and "XX.java"
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK % javac *.java
3. Run the following command on compiled files :
javah -d64 -server -old File InputFile OutputFile
here is the exception which is being thrown :
*********************************************************************
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK 122 % javah -d64 -server -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.SunOS_sparcv9, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
IMPORTANT NOTES :
1. I have also tried the same with previous builds also. It passes for build 68 but fails with b69, 70 , 71 , 72
2. I also tested it for build 73 and it is failing
3. I have tested it on the following Solaris-sparc(64) platforms :
Solaris 7 (64)
Solaris 8 (64)
SunOS 5.9 s81_42 (64)
It fails on all the above mentioned platforms if javah is used with "-d64 -server -old" options.
LINUX :
=======
"javah -old" option fails to generate the JDK1.0-style header file when used on Linux platforms using build 72 of merlin. It throws the following exception :
**********
java.util.MissingResourceException: Can't find bundle for base name com.sun.tool
s.javah.resources.Redhat Linux_x86, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
To reproduce the bug :
1. Make a directory and copy the attached files to that directory.
2. Compile the attached files named "File.java" "InputFile.java" "OutputFile.java" and "XX.java"
/home/ls121046/Masterws/javah/tests/OK % javac *.java
2. Run the following command on compiled files :
javah -old File InputFile OutputFile
here is the exception which is being thrown :
*********************************************************************
/home/ls121046/Masterws/javah/tests/OK % javah -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tool
s.javah.resources.Redhat Linux_x86, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
IMPORTANT NOTES :
1. I have also tried the same with previous builds also. It passes for build 68 but fails with b69, 70 , 71 , 72
2. I also tested it for build 73 and it is failing
3. I have tested it on the following Linux platforms :
RH7.1
Caldera
RH6.2
Turbo Linux
It fails on all the above mentioned platforms .
*****************************************************************************
SOLARIS -SPARC
===============
"javah -d64 -server -old" option fails to generate the JDK1.0-style header file when used on Solaris -sparc(64) platforms using build 72 of merlin.
NOTE : It fails for Solaris-sparc (64) only when javah is used with the Flags "-d64 -server". It passes with "-d32" option
It throws the following exception :
**********
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK 122 % javah -d64 -server -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.SunOS_sparcv9, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
To reproduce the bug :
1. Make a directory and copy the attached files to that directory.
2. Compile the attached files named "File.java" "InputFile.java" "OutputFile.java" and "XX.java"
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK % javac *.java
3. Run the following command on compiled files :
javah -d64 -server -old File InputFile OutputFile
here is the exception which is being thrown :
*********************************************************************
javasoft16:/home/ls121046/TEA/new_tools/Masterws/javah/tests/OK 122 % javah -d64 -server -old File InputFile OutputFile
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.SunOS_sparcv9, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:807)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:144)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:92)
at com.sun.tools.javah.Gen.run(Gen.java:152)
at com.sun.tools.javah.Main.run(Main.java:175)
at com.sun.tools.javah.Main.main(Main.java:44)
Error loading resources. Please file a bug report.
*******************************************************************************
IMPORTANT NOTES :
1. I have also tried the same with previous builds also. It passes for build 68 but fails with b69, 70 , 71 , 72
2. I also tested it for build 73 and it is failing
3. I have tested it on the following Solaris-sparc(64) platforms :
Solaris 7 (64)
Solaris 8 (64)
SunOS 5.9 s81_42 (64)
It fails on all the above mentioned platforms if javah is used with "-d64 -server -old" options.
- relates to
-
JDK-4664402 javah -old fails on Linux OS's
-
- Closed
-