Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8175177

org/omg/CORBA/OrbPropertiesTest.java changes JDK under test

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: