And more conformance bugs (hg tip fa491b75d3e4)

André Bargull andrebargull at googlemail.com
Fri Sep 20 08:49:43 PDT 2013


Can you add this one to JDK-8025134, too?

- André


jjs> try{ (function(){var __noSuchProperty__=function(){}; eval("1"); 
with({}) return x})() }catch(e){ e.printStackTrace() }
java.lang.IllegalArgumentException: no argument type to append
     at 
java.lang.invoke.MethodHandleStatics.newIllegalArgumentException(MethodHandleStatics.java:109)
     at 
java.lang.invoke.MethodHandles.insertArguments(MethodHandles.java:1683)
     at 
jdk.nashorn.internal.lookup.MethodHandleFactory$StandardMethodHandleFunctionality.insertArguments(MethodHandleFactory.java:292)
     at 
jdk.nashorn.internal.runtime.ScriptFunction.bindToNameIfNeeded(ScriptFunction.java:567)
     at 
jdk.nashorn.internal.runtime.ScriptFunction.getCallMethodHandle(ScriptFunction.java:550)
     at 
jdk.nashorn.internal.runtime.ScriptObject.getCallMethodHandle(ScriptObject.java:992)
     at 
jdk.nashorn.internal.runtime.ScriptObject.noSuchProperty(ScriptObject.java:2010)
     at 
jdk.nashorn.internal.runtime.ScriptObject.findGetMethod(ScriptObject.java:1721)
     at 
jdk.nashorn.internal.runtime.ScriptObject.lookup(ScriptObject.java:1631)
     at jdk.nashorn.internal.runtime.WithObject.lookup(WithObject.java:175)
     ...


> Hi,
>
> Filedhttps://bugs.openjdk.java.net/browse/JDK-8025134.  FYI.
>
> -Sundar
>
> On Friday 20 September 2013 06:52 PM, A. Sundararajan wrote:
> >/  Thanks for reporting these! I'll file another umbrella bug.
> />/
> />/  PS. Many of the tests (not in this - but previous lists) use
> />/  Function("..."). Few tests that I checked don't seem to need Function
> />/  call at all. Is that a matter of style or you reproduced most issues
> />/  only with Function call?
> />/
> />/  Thanks
> />/  -Sundar
> />/
> />/  On Friday 20 September 2013 06:33 PM, André Bargull wrote:
> />>/  Some more compliance issues... :(
> />>/
> />>/  - André
> />>/
> />> ...


More information about the nashorn-dev mailing list