eskimo icon indicating copy to clipboard operation
eskimo copied to clipboard

[java] build error (haxe 3.3.0 rc1)

Open eliasku opened this issue 9 years ago • 1 comments

Can't build for java

haxelib run hxjava hxjava_build.txt --haxe-version 3300 --feature-level 1
javac "-sourcepath" "src" "-d" "obj" "-g:none" "@cmd"
src/eskimo/IComponentType.java:9: error: getClass() in IComponentType cannot override getClass() in Object
    java.lang.Class getClass();
                    ^
  overridden method is final
src/eskimo/ComponentType.java:96: error: getClass() in ComponentType cannot override getClass() in Object
    public java.lang.Class getClass()
                           ^
  overridden method is final
Note: src/haxe/root/Date.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
Compilation error
Native compilation failed

eliasku avatar Aug 18 '16 22:08 eliasku

Easy renaming issue. Will fix in the next day, meanwhile if you need something mission critical running, you can rename the getClass() function to getComponentClass() This is a guess, perhaps the issue is deeper, but doesn't seem to be.

PDeveloper avatar Aug 19 '16 00:08 PDeveloper