JDK 1.5 Beta 2 Tidbits
Just downloaded beta 2 of Java 1.5. And there are plenty small things that's noticeable (by browsing the documentation, I haven't tried any of these in code yet):
- On Windows, it installs itself into "C:\Program Files\Java\jdk1.5.0" and "C:\Program Files\Java\jre1.5.0". It's no longer j2sdk. I never liked that name.
- The System.getenv(String) method is no longer deprecated.
- JFrame.add() works again. It took them seven years to do it!
- The new javac -Xlint option produce warnings for legal but potentially problematic constructs.
- There's a new tool called apt. Guess what it does. (Not getting new packages for your Debian distribution of GNU/Linux!)
- IndexedPropertyChangeEvent is finally added to the JavaBeans API.
- The java.lang package grew quite a bit. New members include Appendable, Iterable, Readable, Thread.UncaughtExceptionHandler interfaces and Enum, ProcessBuilder, StringBuilder classes.
Now, is it too much to ask for a JFrame that shows up where Windows (or GNOME or KDE or CDE or Motif or whatever) would have it show up instead of the top-left corner?
Re: JDK 1.5 Beta 2 Tidbits
Re: JDK 1.5 Beta 2 Tidbits
Re: JDK 1.5 Beta 2 Tidbits
Sun marketing painted themselves into a corner with the promotion of the trade market name "J2EE", and to a lesser extent, "J2ME" and "J2SE".
It is almost impossible to introduce "Java 3" now. Try saying "J3EE" ten times.
If past experience is any indication, when the JDK 1.7 is released in 2008, they'll decide to call it Java 7.
By then we'll all be using MDA tools that works with both Java and .NET. Who want's to develop for a single platform when they can develop for all platforms? ;-)