Thu, 30 Jul 2009 10:29:53 +0100
6827648: Extremely slow compilation time for visitor pattern code + generics
Summary: Javac unnecessarily recomputates type-substitutions multiple times
Reviewed-by: jjg
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 4153038 4785453
4 * @summary strictfp may not be used with constructors
5 * @author David Stoutamire (dps)
6 *
7 * @compile/fail/ref=BadConstructorModifiers.out -XDrawDiagnostics -XDstdout BadConstructorModifiers.java
8 */
10 public class BadConstructorModifiers {
12 strictfp BadConstructorModifiers (double abra) { }
14 }