Slashdot Mirror


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."

3 of 602 comments (clear)

  1. Re:an annoying quirk by noselasd · · Score: 0, Redundant

    Please explain further. I've done this many times.

  2. Re:Too little, too late by miguel · · Score: 0, Redundant

    Well, it might be in the spec, but it is not in a released product, just like the SDK 1.5 is not in a released product.

    They are both in the works.

  3. Re:an annoying quirk by lokedhs · · Score: 1, Redundant
    This is correct. The generics are not plymorphic (which is correct). You need to explicitly state that you want a reference to a "List of Integer or any of it's subclasses". The syntax looks like this:
    List<Integer> s = new ArrayList<Integer>();
    List<? extends Number> t = s;