Loading... (original) (raw)

Recent proposed JVM Spec changes say that non-void methods named are illegal and should cause ClassFormatError exceptions. The JVM should enforce this.

The VM should also throw ClassFormatError exceptions for non-static methods named that are in class files >= version 51.

Additionally, the VM should throw ClassFormatError for methods named that have one or more arguments.