Skip to content

Commit

Permalink
8268094: Some vmTestbase/nsk tests fail after ACC_STRICT/strictfp cha…
Browse files Browse the repository at this point in the history
…nges

Reviewed-by: vlivanov, rehn
  • Loading branch information
David Holmes committed Jun 2, 2021
1 parent 2963c9e commit dc19bac
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 339 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
Expand Down Expand Up @@ -57,8 +57,6 @@
* 4. adding <final> modifiers to 4 methods <br>
* 5. adding <synchronized> modifiers to public method <br>
* 6. adding <synchronized> modifiers to 4 methods <br>
* 7. adding <strictfp> modifiers to public method <br>
* 8. adding <strictfp> modifiers to 4 methods <br>
* The test checks two different cases for suspended debugee and not
* suspended one.
*
Expand All @@ -82,8 +80,6 @@ public class redefineclasses007 {
{"newclass04","adding <final> modifiers to 4 methods"},
{"newclass05","adding <synchronized> modifiers to public method"},
{"newclass06","adding <synchronized> modifiers to 4 methods"},
{"newclass07","adding <strictfp> modifiers to public method"},
{"newclass08","adding <strictfp> modifiers to 4 methods"}
};

private final static String newClassFile = File.separator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
Expand Down Expand Up @@ -48,8 +48,6 @@
* 4. newclass04 - adding <final> modifiers to 4 methods
* 5. newclass05 - adding <synchronized> modifiers to public method
* 6. newclass06 - adding <synchronized> modifiers to 4 methods
* 7. newclass07 - adding <strictfp> modifiers to public method
* 8. newclass08 - adding <strictfp> modifiers to 4 methods
* The test checks two different cases for suspended debugee and not
* suspended one.
* COMMENTS:
Expand All @@ -67,7 +65,7 @@
* with full debug info
* @run driver nsk.share.ExtraClassesBuilder
* -g:lines,source,vars
* newclass01 newclass02 newclass03 newclass04 newclass05 newclass06 newclass07 newclass08
* newclass01 newclass02 newclass03 newclass04 newclass05 newclass06
*
* @run main/othervm
* nsk.jdi.VirtualMachine.redefineClasses.redefineclasses007
Expand All @@ -79,4 +77,3 @@
* -transport.address=dynamic
* -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
*/

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
Expand Down Expand Up @@ -56,8 +56,6 @@
* 4.newclass04 - adding <final> modifiers to 3 methods <br>
* 5.newclass05 - adding <synchronized> modifiers to public method <br>
* 6.newclass06 - adding <synchronized> modifiers to 3 methods <br>
* 7.newclass07 - adding <strictfp> modifiers to public method <br>
* 8.newclass08 - adding <strictfp> modifiers to 3 methods <br>
* The test checks two different cases for suspended debugee and not
* suspended one.
* When <code>canRedefineClasses()</code> is <code>false</code>, the test is
Expand All @@ -80,8 +78,6 @@ public class redefineclasses008 {
{"newclass04","adding <final> modifiers to 3 methods"},
{"newclass05","adding <synchronized> modifiers to public method"},
{"newclass06","adding <synchronized> modifiers to 3 methods"},
{"newclass07","adding <strictfp> modifiers to public method"},
{"newclass08","adding <strictfp> modifiers to 3 methods"}
};

private final static String newClassFile = File.separator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
Expand Down Expand Up @@ -47,8 +47,6 @@
* 4. newclass04 - adding <final> modifiers to 3 methods
* 5. newclass05 - adding <synchronized> modifiers to public method
* 6. newclass06 - adding <synchronized> modifiers to 3 methods
* 7. newclass07 - adding <strictfp> modifiers to public method
* 8. newclass08 - adding <strictfp> modifiers to 3 methods
* The test checks two different cases for suspended debugee and not
* suspended one.
* COMMENTS:
Expand All @@ -69,7 +67,7 @@
* with full debug info
* @run driver nsk.share.ExtraClassesBuilder
* -g:lines,source,vars
* newclass01 newclass02 newclass03 newclass04 newclass05 newclass06 newclass07 newclass08
* newclass01 newclass02 newclass03 newclass04 newclass05 newclass06
*
* @run main/othervm
* nsk.jdi.VirtualMachine.redefineClasses.redefineclasses008
Expand All @@ -81,4 +79,3 @@
* -transport.address=dynamic
* -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
*/

This file was deleted.

Loading

1 comment on commit dc19bac

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.