Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jul 2010
    Posts
    9
    Vote Rating
    0
    APOLLO06 is on a distinguished road

      0  

    Default [GXT 2.2.5] Compilation issue with jdk 1.5

    [GXT 2.2.5] Compilation issue with jdk 1.5


    Hi

    I try to compile https://code.extjs.com/svn/gxt/releases/2.2 with sun jdk1.5.0_22.

    I have 2 errors:
    compile:
    [mkdir] Created dir: D:\java\workspace\dev\gxt-2.2\build\bin
    [javac] Compiling 599 source files to D:\java\workspace\dev\gxt-2.2\build\bin
    [javac] D:\java\workspace\dev\gxt-2.2\build\source\user\src\com\extjs\gxt\ui\client\widget\layout\ToolBarLayout.java:142: java.lang.Object cannot be dereferenced
    [javac] item.setText(sb.getData("gxt-menutext").toString());
    [javac] ^
    [javac] D:\java\workspace\dev\gxt-2.2\build\source\user\src\com\extjs\gxt\ui\client\widget\layout\ToolBarLayout.java:165: java.lang.Object cannot be dereferenced
    [javac] item.setText(b.getData("gxt-menutext").toString());
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors


    Can you replace
    item.setText(sb.getData("gxt-menutext").toString())
    by
    item.setText(((Object)sb.getData("gxt-menutext")).toString())
    in file user\src\com\extjs\gxt\ui\client\widget\layout\ToolBarLayout.java
    thank you

  2. #2
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    Hamilton, New Zealand
    Posts
    30
    Vote Rating
    0
    troyg is on a distinguished road

      0  

    Default


    Without looking at your specific problem, this link might be of interest to you...
    http://java.dzone.com/articles/jvm-5-new-ie-6

    In summary, it basically says you can still compile to java 1.5 style code, but it doesn't mean you have to use a Java5 JDK, or Java5 JVM. Java6 has been out for a wee while and has had a bug fix or two over time.. along with some serious performance improvements. Though this is of course assuming your not bound to having to use an ancient JDK.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar