RFR: 8265490: Unterminated string passed to FindClass() in hotspot test

Harold Seigel hseigel at openjdk.java.net
Wed Apr 21 15:03:52 UTC 2021


Please review this small fix for JDK-8265490 to null terminate the char* that test FindClassUtf8 passes to JNI_FindClass().  The modified test was run on Linux, Mac OS, and Windows platforms using Mach5 hs-tiers 1 and 2.

Thanks, Harold

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

Commit messages:
 - 8265490: Unterminated string passed to FindClass() in hotspot test

Changes: https://git.openjdk.java.net/jdk/pull/3604/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3604&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265490
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3604.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3604/head:pull/3604

PR: https://git.openjdk.java.net/jdk/pull/3604


More information about the hotspot-runtime-dev mailing list