Closed
Description
package foo {
trait Bar
}
% javap -c foo/Bar
Compiled from "tp.scala"
public interface foo.Bar {
public foo.Bar initial$foo.Bar();
Code:
0: aload_0
1: areturn
Note that the method contains a '.' which is not allowed:
java.lang.ClassFormatError: Illegal method name "initial$foo.Bar" in class foo/Bar
Metadata
Metadata
Assignees
Labels
No labels