[Webkit-unassigned] [Bug 55772] New: JavaParameter should be removed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 4 06:36:35 PST 2011


           Summary: JavaParameter should be removed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
            Blocks: 55383

JavaParameter is used by the Java bridge to represent the parameter of a Java method. However, there are several problems with the class ...
- The getJNIType() method is simply the cached result of the trivial JNITypeFromClassName() utility method acting on m_type. It seems odd to cache the result of a utility method.
- The class is really just a wrapper around the m_type string, so isn't worth the code complexity overhead.
- It exposes details of JNI in its API. This prevents us from providing a clean interface for JavaInstance/JavaClass etc which does not depend on a JNI/jobject implementation. See Bug 55383.

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