sabbey37 commented on a change in pull request #5754:
URL: https://github.com/apache/geode/pull/5754#discussion_r525349876
##########
File path:
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/session/tests/ServerContainer.java
##########
@@ -202,6 +202,7 @@ public void start() {
" --add-opens java.base/jdk.internal.reflect=ALL-UNNAMED" +
" --add-opens java.base/jdk.internal.misc=ALL-UNNAMED" +
" --add-opens java.base/jdk.internal.ref=ALL-UNNAMED" +
+ " --add-opens java.base/jdk.internal.platform.cgroupv1=ALL-UNNAMED" +
Review comment:
Error that resulted in the addition of this Java arg:
```
org.apache.geode.session.tests.Jetty9CachingClientServerTest >
shouldCacheSessionOnClient FAILED
org.junit.ComparisonFailure: expected:<[Foo]> but was:<[Error in
servlet: java.lang.reflect.InaccessibleObjectException: Unable to make field
private jdk.internal.platform.cgroupv1.SubSystem$MemorySubSystem
jdk.internal.platform.cgroupv1.Metrics.memory accessible: module java.base does
not "opens jdk.internal.platform.cgroupv1" to unnamed module @679bdf7a]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at
org.apache.geode.session.tests.Jetty9CachingClientServerTest.shouldCacheSessionOnClient(Jetty9CachingClientServerTest.java:65)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]