Thread Previous • Date Previous • Date Next • Thread Next |
Do you have any sample build.xml file that I can try out? -- javah task fails https://bugs.launchpad.net/bugs/361578 You received this bug notification because you are a member of OpenJDK, which is subscribed to openjdk-6 in ubuntu. Status in “openjdk-6” source package in Ubuntu: New Bug description: Binary package hint: ant In my build.xml I have a javah task for 2 classes. The Javah aborts with: [javah] Exception in thread "main" java.lang.ExceptionInInitializerError [javah] at gnu.classpath.tools.common.ClasspathToolParser.getVersionString(ClasspathToolParser.java:65) [javah] at gnu.classpath.tools.common.ClasspathToolParser.<init>(ClasspathToolParser.java:81) [javah] at gnu.classpath.tools.javah.Main.getParser(Main.java:193) [javah] at gnu.classpath.tools.javah.Main.run(Main.java:342) [javah] at gnu.classpath.tools.javah.Main.main(Main.java:466) [javah] at com.sun.tools.javah.Main.main(Main.java:50) [javah] Caused by: java.util.MissingResourceException: Can't find bundle for base name gnu.classpath.tools.common.Messages, locale en_US [javah] at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539) [javah] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278) [javah] at java.util.ResourceBundle.getBundle(ResourceBundle.java:733) [javah] at gnu.classpath.tools.common.Messages.<clinit>(Messages.java:50) [javah] ... 6 more [javah] Caused by: java.lang.ClassCastException: gnu.classpath.tools.common.Messages cannot be cast to ResourceBundle [javah] at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2409) [javah] at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1424) [javah] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1383) [javah] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1310) [javah] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1310) [javah] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1252) [javah] ... 8 more
Thread Previous • Date Previous • Date Next • Thread Next |