This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/18405] New: implement java.lang.Package#isCompatibleWith(String)
- From: "vadimn at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2004 16:46:36 -0000
- Subject: [Bug libgcj/18405] New: implement java.lang.Package#isCompatibleWith(String)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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