Please review JDK-8066119

Marcus Lagergren marcus.lagergren at oracle.com
Fri Nov 28 08:23:48 UTC 2014


Bug report at: https://bugs.openjdk.java.net/browse/JDK-8066119 <https://bugs.openjdk.java.net/browse/JDK-8066119>
Webrev at: http://cr.openjdk.java.net/~lagergren/8066119/

When experimenting with 9 code, I accidentally generated a corrupt NativeDataView that didn’t contain an ArrayBuffer, something that should be impossible given that the buffer field is constant and assigned at instantiation time only, and checks are done at instantiation time, Hence this is noreg-trivial. I can’t recreate the state in working code.

It can be easily hand verified.

Regards
Marcus




More information about the nashorn-dev mailing list