Please review JDK-8035312
marcus.lagergren at oracle.com
Tue Nov 11 16:37:28 UTC 2014
There were several corner cases related to length in general and setting length in arrays to not writable in particular.
None of the existing run times pass all the tests, so this was a very hard area to get right (added 6 new unit tests)
I’ve also gotten rid of the special casey length not writable SwitchPoint in NativeArray - now that I have a filter for LengtNotWritableArray that can’t be cast to a ContinuousArrayData in the fast paths, this handles itself anyway.
webrev at: http://cr.openjdk.java.net/~lagergren/8035312/
More information about the nashorn-dev