Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Switch case on Strings is not compatible with Smart-GWT

    We are using smart-gwt for our application along with Java. The switch case on strings have been introduced in Java 1.7, and used to work in GWT 2.5.

    I have upgraded my GWT version to 2.7 and Java to 1.7 but the switch case on strings is not working.

    With GWT 2.5, it was showing compile errors in Eclipse but after GWT upgrade, it is not showing any such errors but it is getting runtime exceptions.

    I think it is a problem with Smart GWT version, we are using smart-gwt 4.1.

    Could any body tell me is my assumption is correct?

    #2
    Hi pioneer.suri,

    depending on your SmartGWT build date, this might be due to the general SmartGWT-with-GWT-2.7 problem, which was addressed mid-February (I did not test it, though, still on 2.6.1).

    So if your SmartGWT version is older than this post (Feb, 11th), an update to the current 4.1p nightly might solve your problem.

    What I do not get is the part "With GWT 2.5, it was showing compile errors in Eclipse".
    You say in the beginning that it used to work in 2.5 and then you say you have compile errors in 2.5?

    Best regards,
    Blama

    Comment

    Working...
    X