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

JDK 11 problems in BOM at HEAD #1781

Closed
elharo opened this issue Nov 4, 2020 · 3 comments
Closed

JDK 11 problems in BOM at HEAD #1781

elharo opened this issue Nov 4, 2020 · 3 comments

Comments

@elharo
Copy link
Contributor

elharo commented Nov 4, 2020

At least I think that's what's happening here. Investigating.

ERROR] Failures: 
[ERROR]   ExclusionFilesIntegrationTest.testExclusion:62 expected to be empty
but was: [Class sun.reflect.Reflection is not found referenced by ClassFile{location=org.jboss.modules:jboss-modules:1.6.0.Final, className=org.jboss.modules.JDKSpecific}]
[ERROR]   LinkageCheckerMainIntegrationTest.testArtifacts:96 expected:<Found 7[5] linkage errors> but was:<Found 7[7] linkage errors>
[ERROR]   LinkageCheckerMainIntegrationTest.testBom:134 expected:<Found 8[01] linkage errors> but was:<Found 8[23] linkage errors>
[ERROR]   LinkageCheckerTest.testFindLinkageProblems_referenceToJava11Method:1150 expected to contain: java.nio.CharBuffer's method flip() is expected to return java.nio.CharBuffer but instead returns java.nio.Buffer referenced by ClassFile{location=com.google.protobuf:protobuf-java:3.12.4, className=com.google.protobuf.TextFormat}
but was            : []
[ERROR] Errors: 
[ERROR]   LinkageCheckerTest.testFindLinkageProblems_shouldSuppressJvmCIPackage:923 » NullPointer
[ERROR]   LinkageCheckerTest.testFindLinkageProblems_unusedClassReferenceInByteCode:1167 » IllegalArgument
@elharo
Copy link
Contributor Author

elharo commented Nov 4, 2020

confirmed same code passes on JDK 8.

It's possible this is a result of mixing JDK 11 with a JDK 8 classpath or some such. I will reverify in a clean JDK 11.

@elharo
Copy link
Contributor Author

elharo commented Nov 4, 2020

This appear to be an issue in pure JDK 11 environment, perhaps in part or full due to the protobuf issue:

protocolbuffers/protobuf#7827

@suztomo
Copy link
Contributor

suztomo commented Dec 7, 2020

The JDK 11 build succeeds now.

@suztomo suztomo closed this as completed Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants