Uncle George wrote:
>
>
> Tell me, did Microsoft alter the published core API to suit their own
> sensibilities? I dont know, as I didnt pay much attention. Or did they just
> manipulate the back-end services.
>
As a matter of fact, they did. This is why Sun sued them - they created
something they called "Java" that was only usable on their OS. They
changed core, published APIs, they added new keywords to the "core"
language, and they omitted JNI from their implementation (JNI is a
required part of any implementation). They also didn't tell any of their
customers that applications written using their tools would not run on
non-MS platforms.
Back to the size of int:
If you read the Java Language Specification, page 30, section 4.2,
you'll see that (on page 31 specifically) an int is defined as holding a
32-bit value, and a long is defined as holding a 64-bit value.
Therefore, you do not need to change the size of int to 64-bits. In your
applications, you should use a long if you need a 64-bit value:
"The integral types are byte, short, int and long, whose values are
8-bit, 16-bit, 32-bit and 64-bit unsigned two's-complement integers,
respectively..."
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
======================================================================
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"
The views expressed herein do not necessarily reflect those of my
employer.
Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]