There is this recent issue regarding Java 24, but that's just a warning,
not an exception.
https://issues.apache.org/jira/browse/FELIX-6759

Regards,
Paul

On Thu, Mar 27, 2025 at 4:03 PM Thomas Watson <tjw...@gmail.com> wrote:

> That appears to be a fork of Felix EventAdmin with this code doing
> something to get the subject:
>
>
> https://github.com/apache/karaf/blob/ad427cd12543dc78e095bbaa4608d7ca3d5ea4d8/services/eventadmin/src/main/java/org/apache/felix/eventadmin/impl/handler/EventAdminImpl.java#L143-L148
>
> That code is not in the Felix EventAdmin implementation as far as I can
> tell.
>
> You will need to go to Karaf to report the issue:
> https://issues.apache.org/jira/projects/KARAF/issues
>
> Tom
>
>
> On Wed, Mar 26, 2025 at 8:46 PM Mark Derricutt <m...@talios.com> wrote:
>
> > Hey all,
> >
> > Was just trying to run out Karaf container under the newly released Java
> > 24, which disables the Security Manager.
> >
> > app       | java.lang.UnsupportedOperationException: getSubject is not
> > supported
> > app       |    at
> javax.security.auth.Subject.getSubject(Subject.java:277)
> > ~[?:?]
> > app       |    at
> >
> >
> org.apache.felix.eventadmin.impl.handler.EventAdminImpl.prepareEvent(EventAdminImpl.java:146)
> > ~[?:?]
> > app       |    at
> >
> >
> org.apache.felix.eventadmin.impl.handler.EventAdminImpl.postEvent(EventAdminImpl.java:180)
> > ~[?:?]
> > app       |    at
> >
> >
> org.apache.felix.eventadmin.impl.adapter.BundleEventAdapter.bundleChanged(BundleEventAdapter.java:121)
> > ~[?:?]
> > app       |    at
> >
> >
> org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
> > ~[org.apache.felix.framework-7.0.5.jar:?]
> >
> > I don’t see any Jira tickets for Felix/Karaf that cover this yet - or am
> I
> > looking in the wrong direction?
> >
> > Cheers
> > Mark
> >
> >
> > --
> > "Great artists are extremely selfish and arrogant things" — Steven
> Wilson,
> > Porcupine Tree
> >
>

Reply via email to