Results 1 to 3 of 3

Thread: [2.0 Trunk] cant compile

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member takayser's Avatar
    Join Date
    Oct 2008
    Location
    Lucerne, Switzerland
    Posts
    188
    Vote Rating
    0
      0  

    Default [2.0 Trunk] cant compile

    Since a longer time the 2.0 trunk code cannot be compiled because of the following generics issue.
    [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
    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)

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    This looks like a java 5 issue. You can use java6 for now. I just tested it again and it works quite well.

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
      0  

    Default

    Fixed in SVN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •