Review request for JDK-8167443: Nashorn static method linking bypasses autoexported linkers
Hannes Wallnöfer
hannes.wallnoefer at oracle.com
Tue Oct 11 08:36:00 UTC 2016
Hi Attila, this looks good.
Hannes
> Am 10.10.2016 um 22:53 schrieb Attila Szegedi <szegedia at gmail.com>:
>
> 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