8231491: JDI tc02x004 failed again due to wrong # of breakpoints

Reviewed-by: cjplummer
This commit is contained in:
Daniel D. Daugherty 2022-06-03 22:17:16 +00:00
parent b6cdfd685d
commit e2cfe2e14a
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2022, 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
@ -47,7 +47,7 @@ import java.io.*;
*
* When the test is starting debugee, debugger creates <code>MethodEntryRequest</code>.
* After <code>MethodEntryEvent</code> arrived, debugger checks line number of one's
* location. It should be 73th line, that is constructor of <code>tc02x004aClass1</code>
* location. It should be 79th line, that is constructor of <code>tc02x004aClass1</code>
* class. Every thread must generate <code>MethodEntryEvent</code>.
*
* In case, when at least one event doesn't arrive during waittime
@ -123,7 +123,6 @@ public class tc02x004 {
display("\nTEST BEGINS");
display("===========");
debugee.resume();
EventSet eventSet = null;
EventIterator eventIterator = null;

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, 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
@ -43,7 +43,7 @@
* works as follow:
* When the test is starting debugee, debugger creates MethodEntryRequest.
* After MethodEntryEvent arrived, debugger checks line number of one's
* location. It should be 59th line, that is constructor of tc02x004aClass1
* location. It should be 79th line, that is constructor of tc02x004aClass1
* class. Every thread must generate MethodEntryEvent.
* The test looks like tc002x001 except that synchronizing debugger and
* debugee is performed without IOPipe channel.