Review request for JDK-8167443: Nashorn static method linking bypasses autoexported linkers

Attila Szegedi szegedia at gmail.com
Mon Oct 10 20:53:58 UTC 2016


Please review JDK-8167443 "Nashorn static method linking bypasses autoexported linkers" at <http://cr.openjdk.java.net/~attila/8167443/webrev.jdk9> for <https://bugs.openjdk.java.net/browse/JDK-8167443>

This is a fairly minor thing, but it was breaking one of our Dynalink samples so it actually brought to light a conceptual inconsistency.

I wrote a test for it, by factoring out the body of DynamicLinkerFactoryTest.autoLoadedLinkerTest and using it twice (once as original, although now it looks up the Object.toString method) and once with a static method (System.currentTimeMillis).


Thanks,
  Attila.


More information about the nashorn-dev mailing list