public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/16281] New: JNI accepts illegal Class Descriptors
@ 2004-06-29 20:34 mark at gcc dot gnu dot org
  2004-06-30  3:30 ` [Bug libgcj/16281] " mckinlay at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-06-29 20:34 UTC (permalink / raw)
  To: gcc-bugs

JNI Class Descriptors look like Lclass/name/with/dot/replaced/by/slash;
Ljava/lang/String; is a legal JNI Class Descriptor, but Ljava.lang.String; is
not. The second form is accepted in for example Method Descriptors given to
GetMethodID as shown in this email:
http://gcc.gnu.org/ml/java-patches/2004-q2/msg00831.html

It would be nice if there was at least a warning that non-standard Class
Descriptors are accepted since this will likely fail on other JNI
implementations (like the jamvm one).

-- 
           Summary: JNI accepts illegal Class Descriptors
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org
                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=16281


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-04 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 20:34 [Bug libgcj/16281] New: JNI accepts illegal Class Descriptors mark at gcc dot gnu dot org
2004-06-30  3:30 ` [Bug libgcj/16281] " mckinlay at redhat dot com
2004-06-30  4:13 ` mckinlay at redhat dot com
2005-09-04 12:21 ` mark at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).