https://github.com/gwtproject/gwt/issues/9463
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this
At least it is inconsistent with what the JVM would do, and appears to be
different from what was seen in earlier versions of GWT. Can you file this
at github.com/gwtproject/gwt/issues?
On Sunday, November 20, 2016 at 5:35:44 PM UTC-6, Kevin Langille wrote:
>
> Thanks for the reply.
>
>
Thanks for the reply.
Compiling with pretty shows the issue.
if (!(Math.abs(x - y) < 0.0001))
gets turned into
if (Math.abs(x - y) >= 0.0001)
So when Math.abs(x - y) results in NaN the if always results in false.
In my mind this is a mistake because it doesn't accurately represent what
is
> I am testing on Windows 10, Chrome, JDK 1.8.0_111. I also reproduced the
> issue in Firefox, edge and IE11.
>
Compile your app for production but use -style PRETTY so you can better
search in the final JS output. Then search the method name containing your
failing code and compare the
All cmp operations with NaN returns false.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group,
Additional information
Running superdev mode from Intellij failed to show the error, only once our
product was compiled is the error visible. I tested using log statements to
show the values of the expressions.
I am testing on Windows 10, Chrome, JDK 1.8.0_111. I also reproduced the
issue in
Sorry I should have mentioned. I was unable to see it using superdev mode
in Intellij. Only once compiled did the error show.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send
Math.abs(Double.NaN) < 0.0001 = false
!(Math.abs(Double.NaN) < 0.0001) = true
tested with jdk1.8.0_111, IDE Eclipse neon, gwt2.8.0, superdev mode,
browser Chrome
On Wednesday, November 16, 2016 at 10:13:26 AM UTC+3, Kevin Langille wrote:
>
> Hi everyone,
>
> I have discovered a strange behavior
Hi everyone,
I have discovered a strange behavior in GWT 2.8. We were experiencing a bug
in our code and I have boiled it down to one line in the client side code.
The following line returns false which is expected.
Math.abs(Double.NaN) < 0.0001
But applying not operator to the same line also
Seems you can set classloading priority in eclipse so I reordered things
and now it is fine. Sorry for the trouble (and the typo on "its"!).
On Wednesday, November 2, 2016 at 11:22:47 AM UTC-7, rjcarr wrote:
>
> I have a really old GWT project that I just tried to compile with gwt 2.8.
> The
I have a really old GWT project that I just tried to compile with gwt 2.8.
The compilation was fine (I use ant), but when I opened up eclipse, and
pointed it to the new gwt libraries, I am getting compile errors like this:
org.apache.tools.ant.types.FileSet: Can only iterate over an array
11 matches
Mail list logo