Java SDK 1.5 'Tiger' Beta Finally Released
kingkola writes "Finally, after about two years of development, the Beta for Java SDK 1.5, aka Tiger, has been released. Features added in this edition include generics support, autoboxing of primitives, syntactic sugar for loops, enumerated types, variable arguments, sharing of memory between multiple VMs and a bunch of other bugfixes, enchancements, etc."
javac -source 1.5 filename
C'mon fellow slashdotters,
dont you miss the lovely prose of that great man who had his finger on the pulse of the geek nation>
I think we should all subscribe, so that Taco can hire him back and buy him a BMW
Thank you - that is all
Darn it, the Mac just got JDK version 1.4.2...
http://www.apple.com/macosx/features/java/
yeah this is it CLICK NOW!
fuck off and die.. all of you
Slow Down CowboyNeil, you fucking fat fuck!!!
Slashdot requires you to wait 2 minutes between each successful posting of a comment to allow everyone a fair chance at posting a comment.
It's been -324231342 minutes since you last successfully posted a comment
Chances are, you're behind a firewall or proxy, or clicked the Back button to accidentally reuse a form. Please try again. If the problem persists, and all other options have been tried, contact the site administrator.
The reasen this can't be allowed is very simply: Look at this:
// Does not compile, but asume that it would.
// Now we have added a float to a list which can ONLY contain integers. Not good.
// Class cast exception.
ArrayList s = new ArrayList();
ArrayList t = s;
t.addElement(new Float(10.5));
Integer i= s.elementAt(0);
Allowing t=s would ruin the entire "You are sure your collection only can contain what it say it contains, and we check that at compile time"
What do you mean it does not compile??? Of course it compiles. What are you talking about? Did you mis-type?
Since when did you DEFINE that the arrayList could only contain integers??? I see no such constraint.