We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46410c commit 4c52eb3Copy full SHA for 4c52eb3
test/jdk/com/sun/jdi/TestScaffold.java
@@ -535,16 +535,15 @@ public void eventReceived(Event event) {
535
Location loc = ((Locatable)event).location();
536
ReferenceType rt = loc.declaringType();
537
String name = rt.name();
538
- if (name.startsWith("java.") &&
539
- !name.startsWith("sun.") &&
540
- !name.startsWith("com.")) {
+ if (name.startsWith("java.")
+ || name.startsWith("sun.")
+ || name.startsWith("com.")
541
+ || name.startsWith("jdk.")) {
542
if (mainStartClass != null) {
543
redefine(mainStartClass);
544
}
545
} else {
- if (!name.startsWith("jdk.")) {
546
- redefine(rt);
547
- }
+ redefine(rt);
548
549
550
0 commit comments