Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing JTReg Test: java/lang/invoke/CustomizedLambdaFormTest.java #7080

Closed
M-Davies opened this issue Sep 15, 2019 · 1 comment · Fixed by #7084
Closed

Failing JTReg Test: java/lang/invoke/CustomizedLambdaFormTest.java #7080

M-Davies opened this issue Sep 15, 2019 · 1 comment · Fixed by #7084

Comments

@M-Davies
Copy link

JDK11's https://github.com/M-Davies/openj9-openjdk-jdk11/blob/dcaed50202aba11658bb827c255ef3c393d4b1ea/test/jdk/java/lang/invoke/CustomizedLambdaFormTest.java#L1 and JDK8's https://github.com/ibmruntimes/openj9-openjdk-jdk8/blob/c85b84056711e44d349a1d967eca1e7ace723566/jdk/test/java/lang/invoke/CustomizedLambdaFormTest.java#L1 are consistantly failing for x86-64_linux, windows and osx.

JDK8

/home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/invoke/CustomizedLambdaFormTest.java:38: error: cannot find symbol
14:09:31          mh.customize();
14:09:31            ^
14:09:31    symbol:   method customize()
14:09:31    location: variable mh of type MethodHandle
14:09:31  1 error
14:09:31  
14:09:31  TEST RESULT: Failed. Compilation failed: Compilation failed

JDK11

STDERR:
14:10:27  java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
14:10:27  	at java.base/java.lang.invoke.OpenJDKCompileStub.OpenJDKCompileStubThrowError(OpenJDKCompileStub.java:38)
14:10:27  	at java.base/java.lang.invoke.MethodHandle.customize(MethodHandle.java:1366)
14:10:27  	at java.base/java.lang.invoke.MethodHandleHelper.customize(MethodHandleHelper.java:40)
14:10:27  	at CustomizedLambdaFormTest.testExtendCustomizedBMH(CustomizedLambdaFormTest.java:42)
14:10:27  	at CustomizedLambdaFormTest.main(CustomizedLambdaFormTest.java:47)
14:10:27  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:10:27  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14:10:27  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:10:27  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
14:10:27  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
14:10:27  	at java.base/java.lang.Thread.run(Thread.java:831)
14:10:27  
14:10:27  JavaTest Message: Test threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
14:10:27  JavaTest Message: shutting down test
14:10:27  
14:10:27  STATUS:Failed.`main' threw exception: java.lang.InternalError: Compile stub invoked! Apart from deliberate reflective access, this should not happen. Please report this to the project so it can be addressed
@pshipton pshipton added this to To do in JTReg failures via automation Sep 16, 2019
JTReg failures automation moved this from To do to Done Sep 16, 2019
@M-Davies
Copy link
Author

Problem list updated adoptium/aqa-tests#1343

smlambert pushed a commit to adoptium/aqa-tests that referenced this issue Sep 19, 2019
* Un-excluded java/lang/String/UnicodeCasingTest.java from problem list

* Updated issue links

Unicode casing test deleted as [#4688](eclipse-openj9/openj9#4688) fixes the issue

* Updated weblinks

* Updated issue links

* Issue links updated

* Updated problem list weblinks

* Updated issue links

* Ricochet.java passes

java/lang/invoke/RicochetTest.java is now passing on nightly build's`11.0.5+6-201909111831` and upwards
```
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+6-201909111831)
Eclipse OpenJ9 VM AdoptOpenJDK (build master-d65742671, JRE 11 Linux amd64-64-Bit Compressed References 20190911_331 (JIT enabled, AOT enabled)
OpenJ9   - d65742671
OMR      - 7e9584ea
JCL      - 8057a0754d based on jdk-11.0.5+6)
```

* CustomizedLambdaForm has been fixed as per issue eclipse-openj9/openj9#7080

* perm excludes point to #1297
smlambert pushed a commit to adoptium/aqa-tests that referenced this issue Sep 23, 2019
* Un-excluded java/lang/String/UnicodeCasingTest.java from problem list
* Updated issue links

Unicode casing test deleted as [#4688](eclipse-openj9/openj9#4688) fixes the issue

* Ricochet.java passes

java/lang/invoke/RicochetTest.java is now passing on nightly build's`11.0.5+6-201909111831` and upwards
```
* CustomizedLambdaForm has been fixed as per issue eclipse-openj9/openj9#7080

* perm excludes point to #1297

* Perm exclude SpecialInterfaceCall

* JDK11 Prob list links

* AutomaticModulesTest is now passing

* Reinclude currently failing tests

* Reincluded failing tests, PR#1359 already does this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant