Hi,
Please find below a somewhat trivial patch for
8150173: JAXBContext.newInstance causes PrivilegedActionException
when createContext's declared in absract class extended
by discovered JAXB implementation
https://bugs.openjdk.java.net/browse/JDK-8150173
Patch:
http://cr.openjdk.java.net/~dfuchs/webrev_8150173/webrev.00
This is an oversight that was introduced with JDK-8145104.
The issue is simply that newInstance() must be invoked on
the concrete class, not on the class that defines the
createContext method.
best regards,
-- daniel