Thu, 23 Oct 2008 17:59:43 +0100
6711619: javac doesn't allow access to protected members in intersection types
Summary: Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible
Reviewed-by: jjg
jjg@86 | 1 | /* |
xdono@117 | 2 | * Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved. |
jjg@86 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@86 | 4 | * |
jjg@86 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@86 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@86 | 7 | * published by the Free Software Foundation. |
jjg@86 | 8 | * |
jjg@86 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@86 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@86 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@86 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@86 | 13 | * accompanied this code). |
jjg@86 | 14 | * |
jjg@86 | 15 | * You should have received a copy of the GNU General Public License version |
jjg@86 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@86 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@86 | 18 | * |
jjg@86 | 19 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
jjg@86 | 20 | * CA 95054 USA or visit www.sun.com if you need additional information or |
jjg@86 | 21 | * have any questions. |
jjg@86 | 22 | */ |
jjg@86 | 23 | |
jjg@86 | 24 | package java.io; |
jjg@86 | 25 | |
jjg@86 | 26 | public interface Serializable { |
jjg@86 | 27 | } |