Closed
Description
GWT version: 2.9.0
Browser (with version): All
Operating System: All
Description
Code in GWTTestCases that contains expression in the form "some string" + (someCondition ? "aValue" : aNonStringValue) can not be compiled in DevMode.
As result an assertion in com.google.gwt.dev.javac.JdtUtil#signature() will be fired.
Steps to reproduce
See attached helloworld-gwt.zip. Or simply add following expression into your code GWTTestCase code and run in in devMode: "some string" + (someCondition ? "aValue" : aNonStringValue)
Known workarounds
Disable assertions solves the problem.
E.g. using the net.ltgt.gwt.maven:gwt-maven-plugin
<enableAssertions>false</enableAssertions>
Links to further discussions
Metadata
Metadata
Assignees
Labels
No labels