T4784207a.java revision 553:9d9f26857129
1125733Sgrehan/* 2125733Sgrehan * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3125733Sgrehan * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4125733Sgrehan * 5125733Sgrehan * This code is free software; you can redistribute it and/or modify it 6125733Sgrehan * under the terms of the GNU General Public License version 2 only, as 7125733Sgrehan * published by the Free Software Foundation. 8125733Sgrehan * 9125733Sgrehan * This code is distributed in the hope that it will be useful, but WITHOUT 10125733Sgrehan * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11125733Sgrehan * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12125733Sgrehan * version 2 for more details (a copy is included in the LICENSE file that 13125733Sgrehan * accompanied this code). 14125733Sgrehan * 15125733Sgrehan * You should have received a copy of the GNU General Public License version 16125733Sgrehan * 2 along with this work; if not, write to the Free Software Foundation, 17125733Sgrehan * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18125733Sgrehan * 19125733Sgrehan * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20125733Sgrehan * or visit www.oracle.com if you need additional information or have any 21125733Sgrehan * questions. 22125733Sgrehan */ 23125733Sgrehan 24125733Sgrehan/* 25125733Sgrehan * @test 26125733Sgrehan * @bug 4784207 27125733Sgrehan * @summary generics: method overriding missed with separate compilation 28125733Sgrehan * @author gafter 29125733Sgrehan * 30125733Sgrehan * @compile T4784207a.java 31125733Sgrehan * @compile T4784207b.java 32125733Sgrehan */ 33125733Sgrehan 34125733Sgrehaninterface T4784207a_i extends Comparable<T4784207a_i>{ 35125733Sgrehan} 36125733Sgrehan 37125733Sgrehanabstract class T4784207a_p implements T4784207a_i { 38125733Sgrehan public int compareTo(T4784207a_i other) { 39176530Sraj return 0; 40125733Sgrehan } 41125733Sgrehan} 42125733Sgrehan