> From: Ted Hill [mailto:[EMAIL PROTECTED]]
> Sent: 17 September 2002 14:35
> To: [EMAIL PROTECTED]
> Subject: [Eap-bugs] Re: Wrong "Integer number too large" error.
>
>
> It may compile OK, but IntelliJ is right that it is too big,
>
> Integer.MAX_VALUE is 0x7fffffff
Integer.MIN_VALUE is 0x80000000
>From the java.lang.Integer source:
/**
* The smallest value of type <code>int</code>. The constant
* value of this field is <tt>-2147483648</tt>.
*/
public static final int MIN_VALUE = 0x80000000;
So... I think the point is, when expressed as hexadecimal
intellij should not assume the developer wants it to be
positive.
> "Dmitry Gorodchanin" <[EMAIL PROTECTED]> wrote in message
> news:4873133.1032231005361.JavaMail.javamailuser@localhost...
> > Idea #647 incorrectly flags the following line as an error
> "Integer number
> too large", although Javac compiles it just fine.
> >
> > int hashCode = 0xdeadbeaf;
> >
>
>
> _______________________________________________
> Eap-bugs mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-bugs
>
********************* Confidentiality Notice & Disclaimer
***********************
This message, together with any attachments, is for the confidential and
exclusive use of the
addressee(s). If you receive it in error, please delete the message and its
attachments from your
system immediately and notify us by return e-mail. Do not disclose, copy,
circulate or use any
information contained in this e-mail.
(1) The content of this e-mail is to be read subject to Lunn Poly terms of
business, as applicable.
(2) E-mail may be intercepted or affected by viruses and Lunn Poly accepts
no responsibility for
any interception or liability for any form of viruses introduced with this
e-mail.
(3) The sender shall remain solely accountable for any statements,
representations or opinions
that are clearly his or her own and not made in the course of employment.
****************************************************************************
***********
Lunn Poly Limited
[Registered in England (Number 638309)]
Lunn Poly House
Clarendon Avenue
Leamington Spa
Warwickshire
CV32 5PS
Telephone: 01926 452245
Facsimile: 01926 451679
E-mail: [EMAIL PROTECTED]
[A list of Thomson Travel Group companies is available for inspection at
www.thomsontravelgroup.com]
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs