-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
11
-
generic
-
generic
-
Not verified
ADDITIONAL SYSTEM INFORMATION :
MacOS. But should be the same on all.
A DESCRIPTION OF THE PROBLEM :
cannot access class jdk.xml.internal.SecuritySupport (in module java.xml) because module java.xml does not export jdk.xml.internal to unnamed module
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
create the following code:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try to run it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Test succeeds like it did in java 8 even now that i'm in java 11.
ACTUAL -
stacktrace about missing permission to access internal class referenced from core jdk code.
---------- BEGIN SOURCE ----------
JUnitTest:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
---------- END SOURCE ----------
FREQUENCY : always
MacOS. But should be the same on all.
A DESCRIPTION OF THE PROBLEM :
cannot access class jdk.xml.internal.SecuritySupport (in module java.xml) because module java.xml does not export jdk.xml.internal to unnamed module
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
create the following code:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try to run it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Test succeeds like it did in java 8 even now that i'm in java 11.
ACTUAL -
stacktrace about missing permission to access internal class referenced from core jdk code.
---------- BEGIN SOURCE ----------
JUnitTest:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
---------- END SOURCE ----------
FREQUENCY : always