Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.8.5, 2.0-beta-2
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
Some modifiers on the constructor should be disallowed instead of being passed to the init method. For example "static":
class Foo {
static final Foo()
}
This creates a method <init> with modifiers of 0x19, which are static public and final. Not valid for a constructor. This should bomb at compile time instead of generating bytecode.