RFR: 8303702: Provide ThreadFactory to create platform/virtual threads for com/sun/jdi tests
Chris Plummer
cjplummer at openjdk.org
Tue Mar 7 01:05:14 UTC 2023
On Mon, 6 Mar 2023 23:47:09 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Provide a way to start debugee threads as platform or virtual for debugee in com/sun/jdi tests.
Changes requested by cjplummer (Reviewer).
test/jdk/com/sun/jdi/TestScaffold.java line 1037:
> 1035: Object builder = Thread.class.getMethod("ofVirtual").invoke(null);
> 1036: Class<?> clazz = Class.forName("java.lang.Thread$Builder");
> 1037: java.lang.reflect.Method start = clazz.getMethod("unstarted", Runnable.class);
rename start to unstarted.
-------------
PR: https://git.openjdk.org/jdk/pull/12894
More information about the serviceability-dev
mailing list