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

JTReg Test Failure: java/lang/invoke/ClassSpecializerTest.java #6779

Closed
M-Davies opened this issue Aug 20, 2019 · 6 comments
Closed

JTReg Test Failure: java/lang/invoke/ClassSpecializerTest.java #6779

M-Davies opened this issue Aug 20, 2019 · 6 comments

Comments

@M-Davies
Copy link

M-Davies commented Aug 20, 2019

Failure link

Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.15.1, JRE 11 Mac OS X amd64-64-Bit Compressed References 20190717_289 (JIT enabled, AOT enabled)
OpenJ9   - 0f66c6431
OMR      - ec782f26
JCL      - fa49279450 based on jdk-11.0.4+11)

Optional info

Failure output (captured from console output)

direct:
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:30: error: cannot find symbol
13:54:14  import static java.lang.invoke.MethodHandleNatives.Constants.*;
13:54:14                                                    ^
13:54:14    symbol:   class Constants
13:54:14    location: class MethodHandleNatives
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:123: error: cannot find symbol
13:54:14      class SpecTest extends ClassSpecializer<Frob, Byte, Kind> {
13:54:14                             ^
13:54:14    symbol:   class ClassSpecializer
13:54:14    location: interface ClassSpecializerHelper
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:84: error: cannot find symbol
13:54:14      public static class Kind extends ClassSpecializer<Frob, Byte, Kind>.SpeciesData {
13:54:14                                       ^
13:54:14    symbol:   class ClassSpecializer
13:54:14    location: interface ClassSpecializerHelper
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:90: error: cannot find symbol
13:54:14              return super.factory();
13:54:14                     ^
13:54:14    symbol:   variable super
13:54:14    location: class Kind
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:94: error: cannot find symbol
13:54:14              return super.getters();
13:54:14                     ^
13:54:14    symbol:   variable super
13:54:14    location: class Kind
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:102: error: method does not override or implement a method from a supertype
13:54:14          @Override
13:54:14          ^
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:107: error: method does not override or implement a method from a supertype
13:54:14          @Override
13:54:14          ^
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:112: error: method does not override or implement a method from a supertype
13:54:14          @Override
13:54:14          ^
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:117: error: method does not override or implement a method from a supertype
13:54:14          @Override
13:54:14          ^
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:128: error: cannot find symbol
13:54:14                      .resolveOrFail(REF_invokeVirtual, FrobImpl.class, "kind", MethodType.methodType(Kind.class));
13:54:14                                     ^
13:54:14    symbol:   variable REF_invokeVirtual
13:54:14    location: class SpecTest
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:142: error: method does not override or implement a method from a supertype
13:54:14          @Override
13:54:14          ^
13:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:148: error: cannot find symbol
13:54:14              return (Kind) SPEC_TEST.findSpecies((byte)key);
13:54:14                                     ^
13:54:14    symbol:   method findSpecies(byte)
13:54:14    location: variable SPEC_TEST of type SpecTest
13:54:14  12 errors
13:54:14  
13:54:14  TEST RESULT: Failed. Compilation failed: Compilation failed
13:54:14  --------------------------------------------------
13:54:14  Test results: failed: 1
13:54:24  Report written to /home/jenkins/workspace/Grinder_Advanced/jvmtest/openjdk/report/html/report.html
13:54:24  Results written to /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/TestConfig/test_output_15663056456344/jdk_custom_0/work
13:54:24  Error: Some tests failed or other problems occurred.
13:54:24  
13:54:24  jdk_custom_0_FAILED

openjdk_test_output.tar.gz

@pshipton
Copy link
Member

@DanHeidinga fyi, regression indicated

@DanHeidinga
Copy link
Member

I'm not clear on how this would ever have passed given it fails to compile with references to:

import static java.lang.invoke.MethodHandleNatives.Constants.*;

which we've never implemented.

@M-Davies Has the test changed recently?

@M-Davies
Copy link
Author

M-Davies commented Aug 20, 2019

@DanHeidinga Not in the past 2 years

EDIT: Same for the helper

@DanHeidinga
Copy link
Member

Last passing SHA: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder_Advanced/204/

When I look at that build, I see the same compile errors:

14:54:14  /home/jenkins/workspace/Grinder_Advanced/openjdk-tests/openjdk/openjdk-jdk/test/jdk/java/lang/invoke/java.base/java/lang/invoke/ClassSpecializerHelper.java:30: error: cannot find symbol
14:54:14  import static java.lang.invoke.MethodHandleNatives.Constants.*;
....

Is there a different link to the passing build? Without a previous pass result, we can't call this a regression.

My expectation is this is a test that doesn't apply in the current form to OpenJ9.

@M-Davies
Copy link
Author

M-Davies commented Aug 20, 2019

My apologies. I meant to specify it as non-regression with the top link being the currently running SHA.

EDIT: Updated Description

@M-Davies
Copy link
Author

M-Davies commented Sep 5, 2019

My expectation is this is a test that doesn't apply in the current form to OpenJ9.

Closing for noted reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants