8215015: [TESTBUG] remove unneeded -Xfuture option from tests
authorhseigel
Mon, 10 Dec 2018 13:24:17 -0500
changeset 52932 3add7ef7c40c
parent 52931 3b0fe3d6c3d7
child 52933 13173122094f
8215015: [TESTBUG] remove unneeded -Xfuture option from tests Summary: Remove the option from the tests Reviewed-by: lfoltan, coleenp
test/langtools/tools/javac/boxing/T6348760.java
test/langtools/tools/javac/generics/inference/6240565/T6240565.java
test/langtools/tools/javac/scope/6225935/T6225935.java
--- a/test/langtools/tools/javac/boxing/T6348760.java	Mon Dec 10 11:59:55 2018 -0600
+++ b/test/langtools/tools/javac/boxing/T6348760.java	Mon Dec 10 13:24:17 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
  * @bug     6348760
  * @summary crash: java.lang.AssertionError at com.sun.tools.javac.comp.Lower.abstractLval(Lower.java:1853)
  * @author  Peter von der Ah\u00e9
- * @run main/othervm -Xfuture T6348760
+ * @run main/othervm T6348760
  */
 
 public class T6348760<T> {
--- a/test/langtools/tools/javac/generics/inference/6240565/T6240565.java	Mon Dec 10 11:59:55 2018 -0600
+++ b/test/langtools/tools/javac/generics/inference/6240565/T6240565.java	Mon Dec 10 13:24:17 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,7 @@
  * @bug     6240565
  * @summary Unboxing, arrays, and type variables doesn't work
  * @compile T6240565.java
- * @run main/othervm -Xfuture T6240565
+ * @run main/othervm T6240565
  */
 
 public class T6240565 {
--- a/test/langtools/tools/javac/scope/6225935/T6225935.java	Mon Dec 10 11:59:55 2018 -0600
+++ b/test/langtools/tools/javac/scope/6225935/T6225935.java	Mon Dec 10 13:24:17 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
  * @summary "import static" accessibility rules for symbols different for no reason
  * @author  Peter von der Ah\u00e9
  * @compile a/Private.java a/Named.java a/Star.java T6225935.java
- * @run main/othervm -Xfuture T6225935
+ * @run main/othervm T6225935
  */
 
 import static a.Named.x;