mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8244146: javac changes for JEP 306
8266399: Core libs update for JEP 306 Reviewed-by: sadayapalam, bpb, naoto
This commit is contained in:
parent
c2c0208dfd
commit
0ae4ceb413
28 changed files with 578 additions and 56 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue