JDK-8201279 : javax.sound tests should not set java.home system property
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-07
  • Updated: 2018-06-11
  • Resolved: 2018-05-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b17Fixed
Related Reports
Blocks :  
CSR :  
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

Comments
http://mail.openjdk.java.net/pipermail/sound-dev/2018-April/000629.html
12-04-2018

http://cr.openjdk.java.net/~serb/8201279/webrev.00/
12-04-2018

Default location for the similar "logging.properties" maybe overridden by "java.util.logging.config.file"
10-04-2018