jimma commented on issue #592: [CXF-8140]:setAccessible(true) before reflection method java.security… URL: https://github.com/apache/cxf/pull/592#issuecomment-548758390 @amarkevich Strange thing. My local jvm is: ``` openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) ``` Without setAccessible(true), I always get this failure : ``` [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 s <<< FAILURE! - in org.apache.cxf.interceptor.security.DefaultSecurityContextTest [ERROR] testPrivateStaticGroup(org.apache.cxf.interceptor.security.DefaultSecurityContextTest) Time elapsed: 0.018 s <<< FAILURE! java.lang.AssertionError at org.apache.cxf.interceptor.security.DefaultSecurityContextTest.testPrivateStaticGroup(DefaultSecurityContextTest.java:131) ```
---------------------------------------------------------------- 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] With regards, Apache Git Services
