-
3 Apr 2009 3:18 AM #1
[2.0 Trunk] cant compile
[2.0 Trunk] cant compile
Since a longer time the 2.0 trunk code cannot be compiled because of the following generics issue.
I know, code is not released, even so would be nice if you fix that. (seems only to need a cast to String or Object)[javac] com.extjs.gxt/custom/chart/src/com/extjs/gxt/charts/client/model/ChartModel.java:227: java.lang.Object cannot be dereferenced
[javac] return get("is_decimal_separator_comma").equals("1");
[javac] ^
[javac] com.extjs.gxt/custom/chart/src/com/extjs/gxt/charts/client/model/ChartModel.java:245: java.lang.Object cannot be dereferenced
[javac] return get("is_fixed_num_decimals_forced").equals("1");
[javac] ^
[javac] com.extjs.gxt/custom/chart/src/com/extjs/gxt/charts/client/model/ChartModel.java:254: java.lang.Object cannot be dereferenced
[javac] return get("is_thousand_separator_disabled").equals("1");
[javac] ^
[javac] Note: com.extjs.gxt/user/src/com/extjs/gxt/ui/client/Style.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
-
3 Apr 2009 4:30 AM #2
This looks like a java 5 issue. You can use java6 for now. I just tested it again and it works quite well.
-
6 Apr 2009 1:27 PM #3
Fixed in SVN.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote