SecurityManager Support Removed
All AccessController.doPrivileged(…) calls were removed from OpenJPA.
Running OpenJPA under a Java SecurityManager with a policy that grants permissions only to the OpenJPA jars is no longer supported (the SecurityManager is deprecated for removal since Java 17 and permanently disabled since Java 24, JEP 486).
As a consequence the public PrivilegedAction factory methods of org.apache.openjpa.lib.util.J2DoPrivHelper (for example getForNameAction, getClassLoaderAction, newInstanceAction, getContextClassLoaderAction) were removed; only getLineSeparator(), getPathSeparator(), newInstance(Class) and newDeamonThread(Runnable, String) remain.
Third-party code (custom product derivations, dictionaries, plugins, application server integrations) using these helpers must call the JDK API directly.
Plugin classes instantiated through J2DoPrivHelper.newInstance may now have a non-public no-argument constructor.