The logic to convert between NPAPI and jvalue values does not belong in JavaInstance, as this class logically represents a Java object and should not know about NPAPI types. Instead, this logic should be moved out of JavaInstance (and into JavaNPObject in the case of V8). This will also allow all implementors of the new JavaInstance interface to share this logic. See Bug 55383.
Created attachment 85153 [details] Patch
Comment on attachment 85153 [details] Patch r=me
LGTM
Committed r80647: <http://trac.webkit.org/changeset/80647>