-
Notifications
You must be signed in to change notification settings - Fork 888
Type Consolidator & Generic support for Map/List/Method/Constructor #1853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
… the same class as the one provided by Java
it's not likely to happen, but always be cautious
…idation to MemberBox
…Scriptable,Object)` make it in line with `NativeJavaMap.put(String,Scriptable,Object)` behaviour
I think I found an inconsistency between test and documentation. The method
So, in
The return type of rhino/tests/src/test/java/org/mozilla/javascript/tests/SecurityControllerTest.java Lines 90 to 93 in f8ce76a
should cause an error, when access is restricted. It was not throwing exception before because |
@gbrail I would like to 'ping' you about feedback of this PR and how to proceed:
For the cycles, I made an experimental branch, where I tried to break it: https://github.com/FOCONIS/rhino/tree/type-consolidator-2 |
Java Generic support
3 PRs in total:
MemberBox
use TypeInfo (addTypeInfo
to preserve more type information #1849 )PR#2: Type Consolidator
This PR includes changes from #1849
Before #1849 is reviewed, this PR will keep being a draft.
A description for this PR is not yet finished, you can see descriptions in #1849 for how type consolidation works, and newly added tests for what this PR brings