a number of places where i found this to be a cereal problem where you
won't suspect them:
Credit Card Validators (checks first if given string is a number)
(Pentaho Data Integration)
Version Numbers (in xml headers) (Xstream)
and to my surprise
HTTP headers (http://www.w3.org/Protocols/rfc2616/rfc2616- sec3.html#sec3.9) (Spring Framework et al)
On Tue, Feb 1, 2011 at 12:48 PM, Andreas Petersson <andr...@petersson.at> wrote: > a number of places where i found this to be a cereal problem where you > won't suspect them:
> Credit Card Validators (checks first if given string is a number) > (Pentaho Data Integration) > Version Numbers (in xml headers) (Xstream) > and to my surprise > HTTP headers (http://www.w3.org/Protocols/rfc2616/rfc2616- > sec3.html#sec3.9) (Spring Framework et al)
> -- > You received this message because you are subscribed to the Google Groups "The Java Posse" group. > To post to this group, send email to javaposse@googlegroups.com. > To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
> i know you're probably angry right now so i'll pretend you didn't say > that
> On Feb 2, 10:09 am, mbien <mb...@fh-landshut.de> wrote: > > maybe she was.... PHP?!
> > On Feb 2, 12:37 am, Christian Catchpole <ato...@catchpole.net> wrote:
> > > I knew my girlfriend was a robot when I mentioned the > > > 2.2250738585072012e-308 thing and her head exploded. I'm glad she was > > > Java though.
> -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javaposse@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscribe@googlegroups.com<javaposse%2Bunsubscribe@googlegroups .com> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en.
> This bug works on the Mac to...its like write once....crash > everywhere! It did at least compile but seemed to take a very long > time about it.
When you say "on the Mac", do you mean on the Apple JVM?
I tried replicating this in a native Objective-C app but was not able to make it crash. So either I'm exercising the wrong code, or it's a software-only bug in the JDK libraries.
Well it would have to be using Double.parseDouble. I would imagine
most of those would be using parseInteger or parseLong (at least as
far as I know, floating point values are not valid credit card
numbers).
On Feb 1, 7:48 am, Andreas Petersson <andr...@petersson.at> wrote:
> a number of places where i found this to be a cereal problem where you
> won't suspect them:
> Credit Card Validators (checks first if given string is a number)
> (Pentaho Data Integration)
> Version Numbers (in xml headers) (Xstream)
> and to my surprise
> HTTP headers (http://www.w3.org/Protocols/rfc2616/rfc2616- > sec3.html#sec3.9) (Spring Framework et al)
Don't see a problem in Netbeans so far ... not sure if I have that
turned out. Either way at worst it's going to hang a thread, not sure
if that will stop all builds ...
On Feb 1, 7:47 pm, Josh McDonald <josh.g.mcdon...@hotmail.com> wrote:
> Free tip to everybody planning to try this out: don't do it in an IDE
> project with build-on-save... Kaboom!
> On 2 February 2011 10:19, Christian Catchpole <ato...@catchpole.net> wrote:
> > i know you're probably angry right now so i'll pretend you didn't say
> > that
> > On Feb 2, 10:09 am, mbien <mb...@fh-landshut.de> wrote:
> > > maybe she was.... PHP?!
> > > On Feb 2, 12:37 am, Christian Catchpole <ato...@catchpole.net> wrote:
> > > > I knew my girlfriend was a robot when I mentioned the
> > > > 2.2250738585072012e-308 thing and her head exploded. I'm glad she was
> > > > Java though.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "The Java Posse" group.
> > To post to this group, send email to javaposse@googlegroups.com.
> > To unsubscribe from this group, send email to
> > javaposse+unsubscribe@googlegroups.com<javaposse%2Bunsubscribe@googlegroups .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/javaposse?hl=en.
I did this on OS X and it looks like the 2.2250738585072012e-308 thing
causes spinning. Dodgy parser? http://twitpic.com/3vwtcq
Rob: It shouldn't show up in Objective-C. Its code in the core of the
JDK. Either in the Java libraries, native code, JIT code.. somewhere..
But it's probably common code for a lot of JDKs.
> I did this on OS X and it looks like the 2.2250738585072012e-308 thing
> causes spinning. Dodgy parser?http://twitpic.com/3vwtcq
> Rob: It shouldn't show up in Objective-C. Its code in the core of the
> JDK. Either in the Java libraries, native code, JIT code.. somewhere..
> But it's probably common code for a lot of JDKs.
It also will blow up other languages for which the compiler is written in Java. I tested it as a constant in Flex and it sent Eclipse to its grave, because you can't cancel the compile, and can't save or quit while it's waiting for the compile to finish.
-Josh
On 3 February 2011 09:51, Christian Catchpole <ato...@catchpole.net> wrote:
> I did this on OS X and it looks like the 2.2250738585072012e-308 thing > causes spinning. Dodgy parser? http://twitpic.com/3vwtcq
> Rob: It shouldn't show up in Objective-C. Its code in the core of the > JDK. Either in the Java libraries, native code, JIT code.. somewhere.. > But it's probably common code for a lot of JDKs.
> -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javaposse@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscribe@googlegroups.com<javaposse%2Bunsubscribe@googlegroups .com> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en.