8244146: javac changes for JEP 306

8266399: Core libs update for JEP 306

Reviewed-by: sadayapalam, bpb, naoto
This commit is contained in:
Joe Darcy 2021-06-01 21:59:39 +00:00
parent c2c0208dfd
commit 0ae4ceb413
28 changed files with 578 additions and 56 deletions

View file

@ -1,10 +1,11 @@
/*
* @test /nodynamiccopyright/
* @bug 4153038 4785453
* @bug 4153038 4785453 8244146
* @summary strictfp may not be used with constructors
* @author David Stoutamire (dps)
*
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics BadConstructorModifiers.java
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics --release 16 BadConstructorModifiers.java
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -Xlint:-strictfp BadConstructorModifiers.java
*/
public class BadConstructorModifiers {