Slashdot Mirror


Preview of Java 1.5

gafter writes "An early access prototype implementation of the proposed new J2SE 1.5 language features is available. The prototype includes generics (JSR 14), typesafe enums, varargs, autoboxing, foreach loops, and static import (JSR 201). In other words, all the new language features planned for 1.5 except metadata (JSR 175). The prototype includes full sources for the compiler, written in the extended language. You can download the prototype from java.sun.com. It requires J2SE 1.4.1 and provides some examples of how to use the new language constructs. The prototype includes an experimental type system (variant type parameters) for Generic Java that is being considered for Tiger (1.5) based on a paper by Igarashi and Viroli at ECOOP 2002 . Comments and votes for the new type system are being gathered at bugParade."

2 of 461 comments (clear)

  1. I'm sorry, but is this important? by Anonymous Coward · · Score: 1, Troll

    Java changes every couple of months. No one can decide on a "standard," even though Java is supposed to be a STANDARD. An advancement in Java in one camp means nothing anywhere else, but in that camp. True, an advancement in Java is news, but for who? That camp?

    Yah, mod me down as a troll. That doesn't mean what I say isn't true.

  2. Re:I doubt that Java will succeed. by the+eric+conspiracy · · Score: 0, Troll

    Lack of operator overloading is a defect in a C-style language.

    The fact of the matter is that operator overloading always leads to evil abuses. Some of which are evident in the C++ standard libraries as glaring examples of how irresistively seductive the temptation to abuse operator overloading is.

    cout "woo"

    Are you joking?