[jdk8u-dev] RFR: 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError

Roman Marchenko rmarchenko at openjdk.org
Tue Sep 23 12:18:36 UTC 2025


This is backport of "[JDK-8350813](https://bugs.openjdk.org/browse/JDK-8350813) Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError"

The problem exists in jdk8 also.

Almost clean backport, resolved conflict in copyright, and put `BulkSoundBank.java` to `jdk/test/javax/sound/midi/BulkSoundBank/`.

Test fails before the fix, and passes with the fix.

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

Commit messages:
 - Backport fcc2a24291d499f7149debad1250903ddc369d91

Changes: https://git.openjdk.org/jdk8u-dev/pull/702/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=702&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350813
  Stats: 61 lines in 2 files changed: 60 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/702.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/702/head:pull/702

PR: https://git.openjdk.org/jdk8u-dev/pull/702


More information about the jdk8u-dev mailing list