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

10 of 461 comments (clear)

  1. Required Slashdot reading list by Michael's+a+Jerk! · · Score: -1, Troll

    1) Bill Gates: Portrait of Evil
    2) New Guide to learning Hindi
    3) Linus Torvalds: Savior of the Multiverse
    4) How Things Work In Soviet Russia
    5) Why employers are evil, and why I still insist of working for them
    6) The Theory of How to Date Women
    7) Physical Exercise: Tips On How To Avoid It
    8) How To Get Used To Bathing
    9) Hottest IT Jobs/Trends In India
    10) The Essential Goat.sx Reference
    11) Creating Beowulf Clusters From Anything

    --

    I'm not Seth.

  2. MOD PARENT UP by Anonymous Coward · · Score: -1, Troll

    insert generic comment describing how /. moderators suck and would never vote this comment up because it doesn't adequately genuflect to linus torvalds!

  3. Re:good and bad ...? by Anonymous Coward · · Score: -1, Troll

    varags is bad? sounds like you should stick with LOGO. something like c# is too advanced for your eurocunt mind.

  4. Typesafe Enums... potentially suspect? by Anonymous Coward · · Score: -1, Troll
    I suspect that this girl has my dick in her mouth. Yep, I'm correct.

    So anyways, she's bleeding because I fucking cracked her in the head with this brick I have here. Quick way to teach her a lesson.

    So now, she's running my penis around her mouth and tonsils, and I'm asking myself, "why does java really need typesafe enums?" it's perfectly obvious that when i'm fucking scott andreeson in the ass, he starts screaming about C sharp. what the fuck?

    I actually really enjoy how J2EE makes a mountain out of a molehill, so I can't wait to see the "improvements" that "Tiger" has for us. Kind of like the "improvements" that the roaches in your mom's house have when I fog them in the fucking face with my good ol' Raid Extra Strength anti-bitch spray.

    You'd better believe it, mutha fucka.

    Karma... I'm there. Give it up for the coward.

    Enum {

    dick(1, 0 ,3)

    size = 13.

    }

  5. Re:well, obviously, it sucks. by m$+is+teh+sux0r · · Score: -1, Troll

    I disagree.

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

  7. Very important Health Info (Please Read!) by Anonymous Coward · · Score: -1, Troll
    You may be surprised to learn that the software you use affects your health. A group of medical researchers in the Midwest have discovered proof that the effect of using quality, reliable software on human health is undeniable.
    An unbiased medical study was recently completed which included blood tests, double-blind placebo-controlled user tests, heart monitors and urine samples, among other techniques. The study was led by Dr. Robert Wilkes and his assistant Dr. Li Huang, both of whom have a strong background in computer software. The details have not yet been made available to the public, however Drs. Wilkes and Huang have asked that the public be provided with a summary of their findings as soon as possible.

    This study was conducted over a period of two years, and the results will be published shortly in a major medical journal. The subjects for the study were 235 computer users and programmers, of varying skill levels, selected at random from major cities in the U.S., and carefully monitored on a periodic basis for software-related stress, illness, injury and other ailments. They also performed psychological evaluations to determine the effect of various software brands on the users' mental health.

    Below is a brief summary of the results of their findings.

    Users of Microsoft Windows, Office and Internet Explorer have a significantly lower incidence of stomach ulcers, colonic gas, redness of the eyes, and stress-related high blood pressure than their Unix & Linux counterparts -- particularly the users of Solarus, Red Hat, NOME, KDE and Netscape, among others. It was believed that the ocular redness was related to the high percentage of marijuana abusers in the Linux community, and urinalysis confirmed this to be the case. Further study and psychoanalysis showed that the stress and ulceration (found in the Unix & Linux users) were primarily caused by the following factors:
    1. Uncertainty about the future of their operating system.
    2. The perceived need to "fight the system", or a sort of internal struggle against large corporations (such as Microsoft).
    3. The necessity of posturing oneself as "reet" in order to gain the respect of colleagues. (These users failed to inform Dr. Wilkes as to the meaning of this obscure term. If anyone here can provide a definition, that would be appreciated.)
    4. Feelings of fear or paranoia concerning illegal hacking, cracking and "where's" smuggling activities. (Such feelings were quite widespread among this group, and tend to also cause the flatus which was mentioned earlier.)

    The Unix & Linux users also had a greater incidence of carpal-tunnel syndrome, due to the greater necessity of typing at the command line. Examination of the wrist muscles in this group of users found numerous cases of inflammation and irreparable injury caused by their incessant command-line usage, whereas the majority of Microsoft users, who primarily use the mouse and seldom type, had healthy wrist muscles.

    The Microsoft users exhibited tranquility, good mental and physical health, and balanced emotional well-being. They tend to spend more time at the gym, visit family and friends more often, and are more outgoing and social. Dr. Huang found that this is due to the fact that their operating system doesn't require them to spend long hours studying Mann pages in order to perform simple maintenance tasks. Their primary reasons for feeling secure were as follows:

    1. Their choice of software is friendly and colorful, plays interesting sounds when they start up, shut down, or click on certain pictures, and Microsoft provides plenty of hotfixes such as Windows Update to keep their computer safe from hackers.
    2. They feel secure about the future of Microsoft, partly because its founder is the richest man on the planet. As one user noted, "Bill Gates is one smart cookie. He knows how to make computers easy for people like me. I trust him with the future of my computer, because he always comes up with nifty ways to make computers fun.
  8. 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?

  9. Re:well, obviously, it sucks. by m$+is+teh+sux0r · · Score: -1, Troll

    "Java is teh sux0r" is obviously flamebait. I, however, corrected the AC, and informed him in fact that Java does not suck. Please fix inappropriate moderation ASAP.

  10. Re:I'll care when native compilers become the norm by Anonymous Coward · · Score: -1, Troll

    more links to whitepapers. you dont know fucking shit do you? where is your real world evidence about the performance of this compiler? you dont know. you've never been able to appreciate hotspot because you have never used it and only knows what it does from community college classes and whitepapers.

    get real. give us something to chew on you poser. you constantly link to marketing drivel.