Number.MAX_VALUE not converted properly

Description

I wanted to send Number.MAX_VALUE to the server to a double parameter

Javascript sends this in the HTTP request: 1.7976931348623157e 308

But in org.directwebremoting.util.LocalUtil.simpleConvert(), Java's
Double.valueOf(string) doesn't accept the javascript value.

but it requires 1.7976931348623157E308 instead and throws an exception with
"Invalid float literal number"

This is Firefox 2.0.0.7 - I'm not sure if it's a browser thing, but I'd
guess so.

Looks like it needs a bit more massaging in LocalUtil.

Assignee

Joe Walker

Reporter

Joe Walker

Labels

None

Documentation Required

None

Components

Fix versions

Priority

Minor
Configure