changeset 3124:9493a72cf1f5

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
author emc
date Tue, 17 Dec 2013 18:15:48 -0500
parents 744e0f74f7a0
children c34aa8829e0a
files test/tools/javac/limits/ArrayDims2.java test/tools/javac/limits/ArrayDims4.java test/tools/javac/limits/ArrayDims5.java test/tools/javac/limits/CodeSize.java test/tools/javac/limits/LongName.java test/tools/javac/limits/PoolSize1.java test/tools/javac/limits/PoolSize2.java test/tools/javac/limits/StringLength.java
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/limits/ArrayDims2.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {
--- a/test/tools/javac/limits/ArrayDims4.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {
--- a/test/tools/javac/limits/ArrayDims5.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {
--- a/test/tools/javac/limits/CodeSize.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {
--- a/test/tools/javac/limits/LongName.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {
--- a/test/tools/javac/limits/PoolSize1.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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;
--- a/test/tools/javac/limits/PoolSize2.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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;
--- a/test/tools/javac/limits/StringLength.java	Tue Dec 17 10:28:36 2013 -0800
+++ b/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 {