gcjh-4.3 has incorrect classpath.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcj-4.3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcj-4.3
To reproduce:
Create a .java file with native functions:
Test.java: 8<------
public class Test {
public static native void cxxFunc();
}
-------
Compile with gcj:
$ gcj -C Test.java
Try to generate a header from the class file (fails):
$ gcjh Test
Exception in thread "main" java.io.
at gnu.classpath.
at gnu.classpath.
at gnu.classpath.
The actual file needed is elsewhere:
$ gcjh -cp .:/usr/
(works)
System information:
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy gcj-4.3
gcj-4.3:
Installed: 4.3.3-5ubuntu4
Candidate: 4.3.3-5ubuntu4
Version table:
*** 4.3.3-5ubuntu4 0
500 http://
100 /var/lib/