test/tools/javac/miranda/T4711325.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2002, 2004, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2002, 2014, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 26,36 ****
* @bug 4711325 4862139 5009712
* @summary compiler allows unimplementable interfaces
* @author gafter
*
* @compile T4711325.java
- * @compile/fail -source 1.4 T4711325.java
*/
interface A {
B f();
}
--- 26,35 ----