[Bug libgcj/18405] New: implement java.lang.Package#isCompatibleWith(String)
vadimn at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 9 16:46:00 GMT 2004
We've run into a piece of code that refuses to run under GIJ due to
the following check:
Package p = Package.getPackage("java.lang");
if (!p.isCompatibleWith("1.4")) {
// ... refuse to run
}
Tom Tromey says Package#isCompatibleWith is not implemented. (I
haven't looked at the relevant code myself though.)
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Package.html#isCompatibleWith%28java.lang.String%29
http://java.sun.com/j2se/1.4.2/docs/guide/versioning/spec/versioning2.html
--
Summary: implement java.lang.Package#isCompatibleWith(String)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: vadimn at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18405
More information about the Gcc-bugs
mailing list