This GeronimoOpenAPIExtension.java line 150.

         return openapis.computeIfAbsent(application,
                    app -> createOpenApi(application.getClass(),
Stream.concat(endpoints.stream().map(Bean::getBeanClass),
                            Stream.concat(app.getClasses().stream(),
app.getSingletons().stream().map(Object::getClass)))));

Is what triggers the access exception.

I see the classes list on the application for this one does not include MP
classes when it gets there.  So I suspected that it's overriding getClasses
and it is.

So I expect that is the problem.  I am going to do a test fix for the
specific REST application in question and see.



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to