RFR: 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException

Sergey Bylokhov serb at openjdk.org
Sun Jul 23 22:01:00 UTC 2023


* The doPrivileged block is added to fix SecurityException
 * The usage of the property moved to static, now the "change" of the property at runtime will not affect the code

-------------

Commit messages:
 - Update GetSoundBankSecurityException.java
 - Update JARSoundbankReader.java
 - update bugid
 - rename test
 - Update JARSoundbankReader.java
 - test

Changes: https://git.openjdk.org/jdk/pull/14986/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14986&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312535
  Stats: 66 lines in 3 files changed: 59 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/14986.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14986/head:pull/14986

PR: https://git.openjdk.org/jdk/pull/14986



More information about the client-libs-dev mailing list