# HG changeset patch # User emc # Date 1387322148 18000 # Node ID cc13a9d2832c61cdfe46c8ccc867db8ccc4979bd # Parent 8eefa8ab3f4158a8286aa54d6d8a07184d717931 8030642: Add golden files to javac/limits Summary: Add golden files to check output of negative compilation tests in javac/limits Reviewed-by: jjg, emc Contributed-by: paul.govereau@oracle.com diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/ArrayDims2.java --- a/langtools/test/tools/javac/limits/ArrayDims2.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/ArrayDims2.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail ArrayDims2.java + * @compile/fail/ref=ArrayDims2.out -XDrawDiagnostics ArrayDims2.java */ class ArrayDims2 { diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/ArrayDims4.java --- a/langtools/test/tools/javac/limits/ArrayDims4.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/ArrayDims4.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail ArrayDims4.java + * @compile/fail/ref=ArrayDims4.out -XDrawDiagnostics ArrayDims4.java */ class ArrayDims4 { diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/ArrayDims5.java --- a/langtools/test/tools/javac/limits/ArrayDims5.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/ArrayDims5.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary javac fails to diagnose too many array dimensions * @author gafter * - * @compile/fail ArrayDims5.java + * @compile/fail/ref=ArrayDims5.out -XDrawDiagnostics ArrayDims5.java */ public abstract class ArrayDims5 { diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/CodeSize.java --- a/langtools/test/tools/javac/limits/CodeSize.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/CodeSize.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail CodeSize.java + * @compile/fail/ref=CodeSize.out -XDrawDiagnostics CodeSize.java */ class CodeSize { diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/LongName.java --- a/langtools/test/tools/javac/limits/LongName.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/LongName.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail LongName.java + * @compile/fail/ref=LongName.out -XDrawDiagnostics LongName.java */ class LongName { diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/PoolSize1.java --- a/langtools/test/tools/javac/limits/PoolSize1.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/PoolSize1.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail PoolSize1.java + * @compile/fail/ref=PoolSize1.out -XDrawDiagnostics PoolSize1.java */ import java.io.PrintStream; diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/PoolSize2.java --- a/langtools/test/tools/javac/limits/PoolSize2.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/PoolSize2.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail PoolSize2.java + * @compile/fail/ref=PoolSize2.out -XDrawDiagnostics PoolSize2.java */ import java.io.PrintStream; diff -r 8eefa8ab3f41 -r cc13a9d2832c langtools/test/tools/javac/limits/StringLength.java --- a/langtools/test/tools/javac/limits/StringLength.java Tue Dec 17 10:28:36 2013 -0800 +++ b/langtools/test/tools/javac/limits/StringLength.java Tue Dec 17 18:15:48 2013 -0500 @@ -27,7 +27,7 @@ * @summary Compiler silently generates bytecode that exceeds VM limits * @author gafter * - * @compile/fail StringLength.java + * @compile/fail/ref=StringLength.out -XDrawDiagnostics StringLength.java */ class StringLength {