7164114: Two jtreg tests are not run due to no file extension on the test files

Reviewed-by: mcimadamore
This commit is contained in:
Vicente Romero 2013-05-21 14:33:09 +01:00
parent 6a02cd46e0
commit 5b545ba465
3 changed files with 6 additions and 8 deletions

View File

@ -8,5 +8,5 @@
* the method has the same name, it does not override.
* @author turnidge
*
* @compile/fail -nowrite one/Parent.java two/Child.java
* @compile/fail one/Parent.java two/Child.java
*/

View File

@ -5,6 +5,6 @@
* compiler as ambigous.
* @author turnidge
*
* @compile -nowrite one/Parent.java two/Child.java
* @compile -nowrite one/Parent2.java two/Child2.java
* @compile one/Parent.java two/Child.java
* @compile/fail one/Parent2.java two/Child2.java
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2013, 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
@ -28,9 +28,7 @@ interface I {
}
public class Child2 extends one.Parent2 implements I {
class inner {
void method() {
System.out.println(i);
}
void method() {
System.out.println(i);
}
}