Tue, 08 Sep 2009 13:53:10 -0700
5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
Contributed-by: ahe@google.com
jjg@405 | 1 | /* |
jjg@405 | 2 | * Copyright 2009 Google, Inc. All Rights Reserved. |
jjg@405 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@405 | 4 | * |
jjg@405 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@405 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@405 | 7 | * published by the Free Software Foundation. |
jjg@405 | 8 | * |
jjg@405 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@405 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@405 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@405 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@405 | 13 | * accompanied this code). |
jjg@405 | 14 | * |
jjg@405 | 15 | * You should have received a copy of the GNU General Public License version |
jjg@405 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@405 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@405 | 18 | * |
jjg@405 | 19 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
jjg@405 | 20 | * CA 95054 USA or visit www.sun.com if you need additional information or |
jjg@405 | 21 | * have any questions. |
jjg@405 | 22 | */ |
jjg@405 | 23 | |
jjg@405 | 24 | /** A documented class. */ |
jjg@405 | 25 | public class DocumentedClass extends UndocumentedClass { |
jjg@405 | 26 | /** {@link #method} */ |
jjg@405 | 27 | public void m1() {} |
jjg@405 | 28 | /** {@link #publicMethod} */ |
jjg@405 | 29 | public void m2() {} |
jjg@405 | 30 | /** {@link #protectedMethod} */ |
jjg@405 | 31 | public void m3() {} |
jjg@405 | 32 | /** {@link #privateMethod} */ |
jjg@405 | 33 | public void m4() {} |
jjg@405 | 34 | } |