diff -r 907b469266c8 -r 8c42125f77c4 hotspot/src/share/vm/prims/jvmti.xml --- a/hotspot/src/share/vm/prims/jvmti.xml Sun Feb 12 20:21:31 2017 -0500 +++ b/hotspot/src/share/vm/prims/jvmti.xml Mon Feb 13 14:39:50 2017 -0800 @@ -1486,6 +1486,10 @@ Get the current thread. The current thread is the Java programming language thread which has called the function. + The function may return NULL in the start phase if the + + can_generate_early_vmstart capability is enabled + and the java.lang.Thread class has not been initialized yet.

Note that most functions that take a thread as an argument will accept NULL to mean @@ -1498,7 +1502,7 @@ - On return, points to the current thread. + On return, points to the current thread, or NULL. @@ -14735,6 +14739,11 @@ Clarified can_redefine_any_classes, can_retransform_any_classes and IsModifiableClass API to disallow some implementation defined classes. + + Minor update for GetCurrentThread function: + - The function may return NULL in the start phase if the + can_generate_early_vmstart capability is enabled. +