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

javax.sound tests should not set java.home system property

    XMLWordPrintable

Details

    Backports

      Description

        The system property java.home should not be modified, it is considered readonly.

        <jdk>/test/jdk/javax/sound/midi/MidiSystem/DefaultProperties:48 sets java.home to be able to test system properties.
        <jdk>/test/jdk/javax/sound/sampled//AudioSystem/DefaultProperties.java

        Some other mechanism is needed to override the location of the sound.properties.

        Tests affected:
          FAILED: javax/sound/midi/MidiSystem/6411624/Test6411624.java
          FAILED: javax/sound/midi/MidiSystem/DefaultProperties.java

          FAILED: javax/sound/sampled/AudioSystem/DefaultProperties.java

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: