bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/28666] New: IllegalAccessError in gtk peers


From: green at redhat dot com
Subject: [Bug awt/28666] New: IllegalAccessError in gtk peers
Date: 9 Aug 2006 17:13:12 -0000

I'm getting an IllegalAccessError thrown in
GdkScreenGraphicsDevice.nativeGetDisplayModes.  I don't have a simple test case
yet, but I did poke around with gdb and talk to tromey on IRC about it.  He
seems to have identified the bug, and so I thought I'd file a bug report sans
test cast for now...

<green_> ok...
 _Jv_JNI_check_types<__java_short>
 called by _Jv_JNI_SetPrimitiveArrayRegion<__java_short, (& _Jv_shortClass)>
 called by ....._nativeGetDisplayModes()
 line 429 of jni.cc
<tromey> ah!
 it is a bug in the JNI code
     shortArray = (*env)->NewIntArray(env, nrates);
   (*env)->SetShortArrayRegion(env, shortArray, 0, nrates, (jshort *) rates);
 this is wrong
<green_> a fix in fc6 would be awesome
<tromey> definitely
<green_> I'll file a bug


-- 
           Summary: IllegalAccessError in gtk peers
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28666





reply via email to

[Prev in Thread] Current Thread [Next in Thread]