-
Bug
-
Resolution: Won't Fix
-
P3
-
9
org/omg/CORBA/OrbPropertiesTest.java was introduced in JDK-8049375, this test changes JDK under testing:
66: String orbPropertiesFile = System.getProperty("java.home", ".") + "/conf/orb.properties";
...
70: try (PrintWriter hfPWriter = new PrintWriter(new BufferedWriter(
71: new FileWriter(orbPropertiesFile, false)))) {
72: hfPWriter.println(orbPropertiesMappings);
73: } catch (IOException ioEx) {
After this test run, file orb.properties is left in the jdk-9/conf/orb.properties
$ cat jdk-9/conf/orb.properties
org.omg.CORBA.ORBClass TestOrbImpl
org.omg.CORBA.ORBSingletonClass TestSingletonOrbImpl
This changes JDK behaviour and many corba tests run after this test will then fail.
66: String orbPropertiesFile = System.getProperty("java.home", ".") + "/conf/orb.properties";
...
70: try (PrintWriter hfPWriter = new PrintWriter(new BufferedWriter(
71: new FileWriter(orbPropertiesFile, false)))) {
72: hfPWriter.println(orbPropertiesMappings);
73: } catch (IOException ioEx) {
After this test run, file orb.properties is left in the jdk-9/conf/orb.properties
$ cat jdk-9/conf/orb.properties
org.omg.CORBA.ORBClass TestOrbImpl
org.omg.CORBA.ORBSingletonClass TestSingletonOrbImpl
This changes JDK behaviour and many corba tests run after this test will then fail.
- relates to
-
JDK-8049375 Extend how the org.omg.CORBA.ORB handles the search for orb.properties
- Resolved
-
JDK-8175240 Problem list org/omg/CORBA/OrbPropertiesTest.java
- Resolved