[Webkit-unassigned] [Bug 62275] New: [V8] JavaInstanceJobject::getField() uses getJNIField() incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 05:49:40 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62275

           Summary: [V8] JavaInstanceJobject::getField() uses
                    getJNIField() incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: benm at google.com


The last parameter to getJNIField() should be a string with the JNI type of the property, eg 'I'. Instead, JavaInstanceJobject::getField() passes JavaField::typeClassName(), which is the Java class name of the field, as a string, eg 'int'.

We should use signatureFromPrimitiveType().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list