holgerfriedrich commented on PR #1992:
URL: https://github.com/apache/karaf/pull/1992#issuecomment-3353962567
Commenting out the 2 tollowing lines in `JavaSecurityTest.java` will make it
pass:
`editConfigurationFilePut("etc/system.properties",
"org.osgi.framework.security", "osgi"),` and
`assertNotNull("Karaf should run under a security manager",
System.getSecurityManager());`
If not removed, the first line prevents the startup of the container.
Looking at the
[spec](https://docs.osgi.org/specification/osgi.core/8.0.0/framework.lifecycle.html)
for the property show above, it refers to the SecurityManager again.
I am not sure if removing those two lines renders the whole test case
useless.
Fact is that SecurityManager is scheduled for removal.
@jbonofre any recommendation?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]