OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.13k stars 575 forks source link

Update java9.options file for OpenJCEPlus #28439

Closed gjwatts closed 1 week ago

gjwatts commented 2 weeks ago

OpenJCEPlus is new in Semeru Java 17.0.10 and causes a java.lang.IllegalAccessError exception in our com.ibm.ws.collective.security_test unit test

java.lang.IllegalAccessError: Class com/ibm/crypto/provider/IBMJCE(unnamed module 0x0000000083FC6A58) can not access class com/ibm/misc/Debug(openjceplus) because module openjceplus does not export package com/ibm/misc to module unnamed module 0x0000000083FC6A58

Need to update the java9.options file with the change to allow this unit test to pass

--add-exports
openjceplus/com.ibm.misc=ALL-UNNAMED
LibbyBot commented 2 weeks ago

Code analysis and actions

DO NOT DELETE THIS COMMENT.

gjwatts commented 2 weeks ago

build

LibbyBot commented 2 weeks ago

Your personal pipeline request is at https://libh-proxy1.fyre.ibm.com/cognitive/pipelineAnalysis.html?uuid=f3b1e621-ad55-4ea6-aaf3-1f1d829429ff

Target locations of links might be accessible only to IBM employees.

LibbyBot commented 2 weeks ago

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_QxbqsBLpEe-GLt3IcvbSMw

Target locations of links might be accessible only to IBM employees.

LibbyBot commented 2 weeks ago

https://libh-proxy1.fyre.ibm.com/cognitive/pipelineAnalysis.html?uuid=f3b1e621-ad55-4ea6-aaf3-1f1d829429ff has errors/failures.

LibbyBot commented 2 weeks ago

The build gjwatts-28439-20240515-1242 https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_yFJuIBLpEe-GLt3IcvbSMw completed and has errors or failures.

For help analyzing your personal build, go to https://libh-proxy1.fyre.ibm.com/cognitive/buildAnalysis.html?uuid=_yFJuIBLpEe-GLt3IcvbSMw

gjwatts commented 1 week ago

Closing this PR. We cannot use this option since the java9.options file does not apply to unit tests!