-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
15.0.8.Final
-
None
-
None
-
-
Workaround Exists
-
With Java23 the startup of a CacheManager fails with:
Caused by: java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed
at java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
at org.infinispan.security.Security.getSubject(Security.java:189)
at org.infinispan.notifications.impl.AbstractListenerImpl.validateAndAddListenerInvocations(AbstractListenerImpl.java:214)
at org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl.addListenerAsync(CacheManagerNotifierImpl.java:183)
at org.infinispan.notifications.Listenable.addListener(Listenable.java:27)
at org.infinispan.remoting.transport.jgroups.JGroupsMetricsManagerImpl.start(JGroupsMetricsManagerImpl.java:73)
at org.infinispan.remoting.transport.jgroups.CorePackageImpl$1.start(CorePackageImpl.java:35)
at org.infinispan.remoting.transport.jgroups.CorePackageImpl$1.start(CorePackageImpl.java:27)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeStart(BasicComponentRegistryImpl.java:616)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:607)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:576)
There is a workaround for the problem, but it is unclear how long that workaround will remain available.
See also: https://openjdk.org/jeps/486
- is related to
-
ISPN-14375 Remove all uses of SecurityManager/AccessControlContext
- Resolved