-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b29
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258539 | 17 | Dukebot | P3 | Resolved | Fixed | b03 |
JDK-8277538 | 11.0.15-oracle | Gauri Patil | P3 | Resolved | Fixed | b01 |
Test:
<closed>/security/infra/sun/security/ec/BCCurveTest.java
This is a Test bug. When the Test Run the Test java file with main() using ProcessTools, it doesn't use "--add-exports" for the necessary modules while it uses correctly during compilation.
IMPROVEMENT: It would be nice to convert the Test using 2 java files for this Test to a single file.
Log:
Test Provider SunEC vs. another provider BC
Common curves between two providers: [secp256r1, secp384r1, secp521r1]
Generating Keys though Provider SunEC using curve 'secp256r1'
];
stderr: [Exception in thread "main" java.lang.IllegalAccessError: class ECCurveWithBC (in unnamed module @0x60e89085) cannot access class sun.security.x509.X509CertInfo (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x60e89085
at ECCurveWithBC.generateCertificate(ECCurveWithBC.java:176)
at ECCurveWithBC.test(ECCurveWithBC.java:109)
at ECCurveWithBC.main(ECCurveWithBC.java:68)
]
exitValue = 1
<closed>/security/infra/sun/security/ec/BCCurveTest.java
This is a Test bug. When the Test Run the Test java file with main() using ProcessTools, it doesn't use "--add-exports" for the necessary modules while it uses correctly during compilation.
IMPROVEMENT: It would be nice to convert the Test using 2 java files for this Test to a single file.
Log:
Test Provider SunEC vs. another provider BC
Common curves between two providers: [secp256r1, secp384r1, secp521r1]
Generating Keys though Provider SunEC using curve 'secp256r1'
];
stderr: [Exception in thread "main" java.lang.IllegalAccessError: class ECCurveWithBC (in unnamed module @0x60e89085) cannot access class sun.security.x509.X509CertInfo (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x60e89085
at ECCurveWithBC.generateCertificate(ECCurveWithBC.java:176)
at ECCurveWithBC.test(ECCurveWithBC.java:109)
at ECCurveWithBC.main(ECCurveWithBC.java:68)
]
exitValue = 1
- backported by
-
JDK-8258539 security/infra/sun/security/ec/BCCurveTest.java failed with cannot access class sun.security.x509.X509CertInfo
- Resolved
-
JDK-8277538 security/infra/sun/security/ec/BCCurveTest.java failed with cannot access class sun.security.x509.X509CertInfo
- Resolved