2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2021-06-01 21:59:39 +00:00
|
|
|
* @bug 4153038 4785453 8244146
|
2007-12-01 00:00:00 +00:00
|
|
|
* @summary strictfp may not be used with constructors
|
|
|
|
* @author David Stoutamire (dps)
|
|
|
|
*
|
2021-06-01 21:59:39 +00:00
|
|
|
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics --release 16 BadConstructorModifiers.java
|
|
|
|
* @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -Xlint:-strictfp BadConstructorModifiers.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class BadConstructorModifiers {
|
|
|
|
|
|
|
|
strictfp BadConstructorModifiers (double abra) { }
|
|
|
|
|
|
|
|
}
|