diff -r ae0af9fb3dbb -r cba8afa5cfed src/hotspot/share/prims/jvmtiTagMap.cpp --- a/src/hotspot/share/prims/jvmtiTagMap.cpp Mon Oct 21 09:26:14 2019 -0700 +++ b/src/hotspot/share/prims/jvmtiTagMap.cpp Mon Oct 21 13:13:16 2019 -0400 @@ -1032,7 +1032,7 @@ // helper function to tell if a field is a primitive field or not static inline bool is_primitive_field_type(char type) { - return (type != 'L' && type != '['); + return (type != JVM_SIGNATURE_CLASS && type != JVM_SIGNATURE_ARRAY); } // helper function to copy the value from location addr to jvalue.