(int \a) returns a value, (long \a) throws an exception

Description

As described in the summary, calling (long ...) on a character throws a ClassCastException. I know the semantics surrounding numbers has changed a bit, but I think it would be nice for this to be consistent.

Environment

None

Attachments

1

Activity

Show:

Aaron Bedra August 15, 2012 at 2:11 AM

Patch applies cleanly against 4004d267e124f12b65b0d7fb6522f32a75e3c4fb. Submitter is a confirmed CA signer.

Scott Lowe May 13, 2012 at 4:45 AM

Attached a patch. 0001-CLJ-977-int-a-returns-a-value-long-a-throws-an-excep.patch 13/May/12

Completed

Details

Assignee

Reporter

Approval

Ok

Patch

Code

Priority

Affects versions

Fix versions

Created April 28, 2012 at 9:09 AM
Updated August 18, 2012 at 1:12 PM
Resolved August 18, 2012 at 1:12 PM