8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory

Reviewed-by: sspitsyn, kevinw
This commit is contained in:
Chris Plummer 2023-06-13 18:07:43 +00:00
parent b5b5b7ce72
commit d7251c1755
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,6 @@ com/sun/jdi/EATests.java#id0 8264699 generic-
com/sun/jdi/ExceptionEvents.java 8278470 generic-all
com/sun/jdi/RedefineCrossStart.java 8278470 generic-all
com/sun/jdi/ReferrersTest.java 8285422 generic-all
com/sun/jdi/cds/CDSBreakpointTest.java 8307778 generic-all
com/sun/jdi/cds/CDSDeleteAllBkptsTest.java 8307778 generic-all
com/sun/jdi/cds/CDSFieldWatchpoints.java 8307778 generic-all

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2023, 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
@ -454,6 +454,9 @@ public class ReferrersTest extends TestScaffold {
if (name.equals("java.lang.ref.SoftReference")) {
return;
}
if (name.equals("java.lang.reflect.Method")) {
return;
}
// oh oh, should really check for a subclass of ClassLoader :-)
if (name.indexOf("ClassLoader") >= 0) {
return;