This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/16281] New: JNI accepts illegal Class Descriptors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]