After the latest sync from jdk/jdk the test SpreadNullArg started to fail in tier1 on all platforms. Not sure if this is a compiler issue but putting it on compiler since the test live in the compiler directory.
----------System.err:(16/968)----------
java.lang.Error: java.lang.NullPointerException: null array reference
at compiler.runtime.SpreadNullArg.main(SpreadNullArg.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: null array reference
at java.base/java.lang.invoke.MethodHandleImpl.checkSpreadArgument(MethodHandleImpl.java:668)
at compiler.runtime.SpreadNullArg.main(SpreadNullArg.java:51)
... 6 more
----------System.err:(16/968)----------
java.lang.Error: java.lang.NullPointerException: null array reference
at compiler.runtime.SpreadNullArg.main(SpreadNullArg.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: null array reference
at java.base/java.lang.invoke.MethodHandleImpl.checkSpreadArgument(MethodHandleImpl.java:668)
at compiler.runtime.SpreadNullArg.main(SpreadNullArg.java:51)
... 6 more
- relates to
-
JDK-8157246 MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
-
- Resolved
-