8168499: Workaround intermittent failures of IntersectionTargetTypeTest.java
authordarcy
Sat, 22 Oct 2016 12:27:52 -0700
changeset 41639 90220025bd6c
parent 41638 7b8819e22551
child 41640 0c5bdda9ac56
8168499: Workaround intermittent failures of IntersectionTargetTypeTest.java Reviewed-by: rfield, amlu, mcimadamore
langtools/test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java
--- a/langtools/test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java	Thu Oct 20 16:31:42 2016 -0700
+++ b/langtools/test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java	Sat Oct 22 12:27:52 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2016, 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,6 +26,7 @@
  * @bug 8002099 8010822
  * @summary Add support for intersection types in cast expression
  * @modules jdk.compiler/com.sun.tools.javac.util
+ * @run main/othervm IntersectionTargetTypeTest
  */
 
 import com.sun.source.util.JavacTask;