Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.4
-
None
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.