History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-18617
Type: Bug Bug
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Bas Leijdekkers
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Good code is red: Long number too large

Created: 02 Jul 08 13:56   Updated: 02 Jul 08 14:19
Component/s: Editor. Error Highlighting

Build: 8,510
Severity: Medium


 Description  « Hide
In the following code the long literal is highlighted with the error message "Long number too large". However this is just the octal represenation of -128 and compiles fine.
class NegativeNumber {
    public static long octalValue = 01777777777777777777600L;
}


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.