author | lana |
Thu, 12 Nov 2015 14:13:49 -0800 | |
changeset 33728 | 6b9b9c3e0a39 |
parent 33207 | edc4431940b2 |
permissions | -rw-r--r-- |
33207
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
1 |
/* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
2 |
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
4 |
* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
8 |
* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
13 |
* accompanied this code). |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
14 |
* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
18 |
* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
21 |
* questions. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
22 |
* |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
23 |
*/ |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
24 |
|
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
25 |
// Interface containing void <init> method. |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
26 |
public interface voidinit version 50:0 |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
27 |
{ |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
28 |
|
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
29 |
public abstract Method "<init>":"()V"; |
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
30 |
|
edc4431940b2
8139069: JVM should throw ClassFormatError for <init> methods in interfaces
hseigel
parents:
diff
changeset
|
31 |
} // end Class voidinit |