The message wasn't being copied into the array, nor was the array being used. 
Converted to a simpler stringStream usage.

Added a regression test to the existing monitor tests.

Thanks

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

Commit messages:
 - 8379012: [lworld] JNI MonitorEnter uses the wrong exception message for 
value classes

Changes: https://git.openjdk.org/valhalla/pull/2191/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2191&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379012
  Stats: 81 lines in 3 files changed: 59 ins; 2 del; 20 mod
  Patch: https://git.openjdk.org/valhalla/pull/2191.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2191/head:pull/2191

PR: https://git.openjdk.org/valhalla/pull/2191

Reply via email to