提交 a2d92c22 编写于 作者: J jjg

6931126: jtreg tests not Windows friendly

Reviewed-by: darcy
上级 dd73f33c
......@@ -30,6 +30,8 @@
* @compile ThrowsIntersection_1.java
*/
package ThrowsIntersection_1;
class Ex1 extends Exception {}
class Ex2 extends Exception {}
......
......@@ -30,6 +30,8 @@
* @compile ThrowsIntersection_2.java
*/
package ThrowsIntersection_2;
class Ex1 extends Exception {}
class Ex2 extends Exception {}
class Ex3 extends Exception {}
......
......@@ -30,6 +30,8 @@
* @run compile/fail ThrowsIntersection_3.java
*/
package ThrowsIntersection_3;
class Ex1 extends Exception {}
class Ex2 extends Exception {}
......
......@@ -30,6 +30,8 @@
* @run compile/fail ThrowsIntersection_4.java
*/
package ThrowsIntersection_4;
// Note: This is the test that actually failed for 4042259. The others are for completeness.
class Ex1 extends Exception {}
......
......@@ -27,7 +27,7 @@
* @summary generics: type inference failure due to a bug in ClassSymbol.isLess
* @author gafter
*
* @compile NameOrder.java
* @compile NameOrder.java
*/
package NameOrder;
......@@ -36,13 +36,13 @@ interface a {}
interface b {}
interface c {}
class A implements a, b {}
class B implements c, a {}
class AB implements a, b {}
class CA implements c, a {}
// this is how to trigger a symptom:
abstract class C {
abstract class X {
<T> T f(T t1, T t2) { return null; }
void g() {
a x = f( new A(), new B() );
a x = f( new AB(), new CA() );
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册