Hi Attila, no fully related to that issue but i think that the adapter code should be separated from Nashorn and integrated directly into the JDK as a better proxy implementation (compared to java.lang.reflect.Proxy), evey dynamic language runtimes need this kind of proxies.
here is my attempt to do something like this [1] Happy new year, Rémi [1] https://github.com/forax/proxy2 ----- Mail original ----- > De: "Attila Szegedi" <szege...@gmail.com> > À: "Nashorn-dev" <nashorn-dev@openjdk.java.net> > Envoyé: Samedi 2 Janvier 2016 16:01:56 > Objet: Review request for JDK-8133299: Nashorn Java adapters should not > early bind to functions > > Please review JDK-8133299 "Nashorn Java adapters should not early bind to > functions" at <http://cr.openjdk.java.net/~attila/8133299/webrev.jdk9> for > <https://bugs.openjdk.java.net/browse/JDK-8133299> > > See implementation notes in > <https://bugs.openjdk.java.net/browse/JDK-8133299?focusedCommentId=13883269&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13883269> > > Also note that this changeset is based on current tip (rev 1584, > [da397aea8ada]) and is as such independent of the change sets for > JDK-8144917 and JDK-8144919 that are still pending review. > > Thanks, > Attila.