This bug is specific to Linux OS's only.
Using build07 of Hopper, "javah -old" option fails to generate the JDK1.0 - style header file on Linux. It throws the following exception :
********************
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.Linux_i386, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:141)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:89)
at com.sun.tools.javah.Gen.run(Gen.java:149)
at com.sun.tools.javah.Main.run(Main.java:172)
at com.sun.tools.javah.Main.main(Main.java:41)
Error loading resources. Please file a bug report.
*******************
To Reproduce the bug:
======================
1. Make a directory and copy the attached file "File.java" into this directory.
2. Compile the file
"javac File.java"
3. Run the following command on the compiled file :
" javah -old File"
Here is the exception which is being thrown:
******************************************************************************
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.Linux_i386, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:141)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:89)
at com.sun.tools.javah.Gen.run(Gen.java:149)
at com.sun.tools.javah.Main.run(Main.java:172)
at com.sun.tools.javah.Main.main(Main.java:41)
Error loading resources. Please file a bug report.
******************************************************************************
Important Notes:
================
1. Only occurs on Linux OS's
2. It only fails with b07. Passes till b06 of Hopper
Using build07 of Hopper, "javah -old" option fails to generate the JDK1.0 - style header file on Linux. It throws the following exception :
********************
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.Linux_i386, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:141)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:89)
at com.sun.tools.javah.Gen.run(Gen.java:149)
at com.sun.tools.javah.Main.run(Main.java:172)
at com.sun.tools.javah.Main.main(Main.java:41)
Error loading resources. Please file a bug report.
*******************
To Reproduce the bug:
======================
1. Make a directory and copy the attached file "File.java" into this directory.
2. Compile the file
"javac File.java"
3. Run the following command on the compiled file :
" javah -old File"
Here is the exception which is being thrown:
******************************************************************************
java.util.MissingResourceException: Can't find bundle for base name com.sun.tools.javah.resources.Linux_i386, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.sun.tools.javah.Util.initPlatform(Util.java:159)
at com.sun.tools.javah.Util.getPlatformString(Util.java:141)
at com.sun.tools.javah.OldHeaders.write(OldHeaders.java:89)
at com.sun.tools.javah.Gen.run(Gen.java:149)
at com.sun.tools.javah.Main.run(Main.java:172)
at com.sun.tools.javah.Main.main(Main.java:41)
Error loading resources. Please file a bug report.
******************************************************************************
Important Notes:
================
1. Only occurs on Linux OS's
2. It only fails with b07. Passes till b06 of Hopper
- duplicates
-
JDK-4662847 PIT: Some of the files are missing in linux PIT JDK.
-
- Closed
-
- relates to
-
JDK-4486046 javah-old option fail to generate old JDK1.0-style header file on Linux,solsparc
-
- Closed
-