osgi / bugzilla-archive

Archive of OSGi Alliance Specification Bugzilla bugs. The Specification Bugzilla system was decommissioned with the move to GitHub. The issues in this repository are imported from the Specification Bugzilla system for archival purposes.
0 stars 1 forks source link

testHiddenPackages001 fails on Java 9+ #2991

Open bjhargrave opened 5 years ago

bjhargrave commented 5 years ago

Original bug ID: BZ#3123 From: @tjwatson Reported version: R7

bjhargrave commented 5 years ago

Comment author: @tjwatson

org.osgi.test.cases.framework.junit.classloading.ClassLoadingTests.testHiddenPackages001()

This test tries to load

ClassLoader.getSystemClassLoader().loadClass("org.omg.CORBA.ORB");

org.omg.CORBA.ORB does not exist in Java 9. I think any class from a javax package could be used for this test.

bjhargrave commented 4 years ago

Comment author: @bjhargrave

CPEG call: Anjum, can you please fix?