« Return to Thread: [jira] Created: (RVM-831) Incomplete implementation of GetFieldID and GetStaticFieldID

[jira] Created: (RVM-831) Incomplete implementation of GetFieldID and GetStaticFieldID

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread

Incomplete implementation of GetFieldID and GetStaticFieldID
------------------------------------------------------------

                 Key: RVM-831
                 URL: http://jira.codehaus.org/browse/RVM-831
             Project: RVM
          Issue Type: Bug
          Components: Runtime: JNI
    Affects Versions: 3.1.0
         Environment: IA32, and Ubuntu
            Reporter: Byeong Lee
            Assignee: Byeong Lee
             Fix For: svn head
         Attachments: JNIGetFieldID.patch, TestJNIGetFieldID.c, TestJNIGetFieldID.java

Both GetFieldID and GetStaticFieldID does not correctly run the test case which I attach.
Jikes RVM produced  wrong results, which are different from what Hotspot 1.6.0_13 and J9 1.6(SR4) showed:

$rvm TestJNIGetFieldID
instance_a: fail
static_s: fail
static_f: fail

$java -showversion TestJNIGetFieldID
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
instance_a: pass
static_s: pass
static_f: pass

$java -showversion TestJNIGetFieldID
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr4-20090219_01(SR4))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20090215_29883 (JIT enabled, AOT enabled)
J9VM - 20090215_029883_lHdSMr
JIT  - r9_20090213_2028
GC   - 20090213_AA)
JCL  - 20090218_01
instance_a: pass
static_s: pass
static_f: pass

GetFieldID could not handle a hidden instance field, and GetStaticFieldID could not find
a static field in super classes or interfaces. I attach my patch.




--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

 « Return to Thread: [jira] Created: (RVM-831) Incomplete implementation of GetFieldID and GetStaticFieldID