The WrapFactory class is supposed to provide an interface for customizing Java object wrapping, but Java classes (an important subset of java objects) are currently not passed through it. Instead, Java class wrapping is hard-coded to NativeJavaClass.
Calling java classes a subset of java objects as I did above is nonsense of course. Still, being able to control class wrapper creation alongside object wrapper creation makes a lot of sense to me.
Created attachment 497775 [details] [diff] [review] Add wrapJavaClass() method to WrapFactory Adds a wrapJavaClass() method to WrapFactory that returns a new NativeJavaClass. Replace all instances of NativeJavaClass instantiation with calls to WrapFactory.wrapJavaClass().
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.