--- old/src/jdk.jdwp.agent/share/native/libjdwp/util.h 2019-11-22 22:43:41.156603860 +0100 +++ new/src/jdk.jdwp.agent/share/native/libjdwp/util.h 2019-11-22 22:43:40.967603871 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -414,4 +414,9 @@ void saveGlobalRef(JNIEnv *env, jobject obj, jobject *pobj); void tossGlobalRef(JNIEnv *env, jobject *pobj); +/* JDK-8227269: Expose this method publicly. + * This returns a newly allocated jvmtiEnv* with the can_tag_objects capability. + */ +jvmtiEnv *getSpecialJvmti(void); + #endif