mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-20 18:08:19 +00:00
d550dceb79
More changes to support non NativeJavaObject wrappers Date: Fri, 03 Nov 2000 17:56:38 +0100 From: Igor Bukanov <igor@icesoft.no> To: nboyd@atg.com Hi, Norris, In post 1.5 rhino one can introduce own wrappers for arbitrary Java objects. But I think to fully support this org.mozilla.javascript.ScriptRuntime should be changes as well: its eq and shallow_eq contain references to NativeJavaObject, this should be replaced at least to Wrapper (see the atached patch). Even better solution would be to add to WrapHandler methods to compare wrappers: I can send a patch for that as well. There is a small usability problem as well: if org.mozilla.javascript.JavaMembers would be public I do not need to copy it to a package with non NativeJavaObject.java wrapper. Regards, Igor