hg: jdk9/hs/hotspot: 8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Wed Oct 26 13:46:00 UTC 2016


Changeset: a5fdf2f30c6e
Author:    thartmann
Date:      2016-10-26 14:36 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/a5fdf2f30c6e

8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
Summary: String length needs to be updated when converting from unicode to utf8.
Reviewed-by: kvn, coleenp

! src/share/vm/classfile/stringTable.cpp
! src/share/vm/prims/jvmtiEnv.cpp
! src/share/vm/utilities/utf8.cpp
! src/share/vm/utilities/utf8.hpp
+ test/runtime/CompactStrings/TestMethodNames.java



More information about the jdk9-all-changes mailing list