Sun釋出J2SE 1.4.2,宣佈Tiger釋出里程碑 (轉)

worldblog發表於2008-01-21
Sun釋出J2SE 1.4.2,宣佈Tiger釋出里程碑 (轉)[@more@]

Sun宣佈了 1.5的釋出里程碑,Tiger將於今年年底之前釋出一個beta版本。另外,J2SE 1.4.2(代號“Mantis”——蟑螂)已經發布,修補了4000多個,增加了對Itanium 的完全支援,提供了兩種新的觀感: XP和GTK,並加入了兩種新的高效GC演算法。

看到這條訊息,我唯一的感想就是:已經發展了10年的居然還有超過4000個bug可以修補,實在是~!@#$%^&*……

————————————

A Roadmap for Java 2 Platform, Standard Edition (J2SE) 1.4.2 and 1.5
by Calvin Austin
June 25,

By the end of 2003, Java developers will be able to get their hands on a beta version of Java 2 Platform, Standard Edition 1.5 (J2SE 1.5). This release and the current 1.4 updates, 1.4.1 and 1.4.2, were covered in the J2SE roadmap session at the 2003 JavaOne Conference. If you were unable to attend the session, or want to refresh your memory, here are the key points from the talk.

J2SE 1.4.1 and 1.4.2 Releases

While the 1.4.1 release ("Hopper"), available September 2002, and its follow on update, 1.4.2 ("Mantis"), due in June 2003, have resolved over 4000 bug fixes, the improvements have not stopped there.

Full support of the Itanium CPU is available and Swing users now have support for two new native Look and Feels, Windows and GTK on . In addition to a visual refresh, startup time has also been improved, a request that we have heard loud and clear and that will be further improved in J2SE 1.5

Performance on the server s has been enhanced with two new garbage collectors, a concurrent mark and sweep algorithm and a parallel young space collector. The new concurrent collector can be enabled with -XX:+UseConcMarkSweepGC and the parallel collector with -XX:+UseParallelGC.

The challenge of learning and understanding Java command line options to get the best performance is a subject we are tackling in J2SE 1.5.

J2SE 1.5 Release

J2SE 1.5 ("Tiger") is the next major revision to the Java platfoand language; it is currently slated to contain 15 component JSRs and other smaller updates. The release is focused along certain key themes, namely Quality, Monitoring and Manageability, Performance and Scalability, Ease of Development and Desktop Client.

Ease of Development

You may have already heard about some of the new Java Language changes that comprise the Ease of Development theme. JSR 201 contains four of these changes; JSR 175 is the core for Metadata support, while JSR 14 specifies Generics.

The Metadata functionality enables declarative programming, which can offload code generation and manipulation to processing tools. Generic types promotes code re-use of routines without manual casting which would otherwise reduce type safety.

The other four changes are a for l which understand collections and so removes the need for an implicit iterator; enumerated types which provide additional type safety beyond a final static int solution; autoboxing of primitives which is especially needed when using generics, which does not use primitive types; and finally, importing static constants to improve explicit sharing of static data.

There is a lot more than just language changes in Ease of Development. For those developers who miss printf, one will finally be available. Multi-threaded programs will be easier to write with the new concurrency utilities in JSR 166.

Scalability and Performance

The 1.5 release promises improvements in scalability and performance with a new emphasis on startup time and memory footprint to make it easier to deploy applications running at top speed. Performance ergonomics are built in and a more powerful profiling will be available from JSR 163.

Monitoring and Manageability

M&M is a key feature of Tiger. Those developers who use JMX in Java 2 Platform, Enterprise Edition () will be pleased to see this level of functionality in J2SE. The JVM monitoring will allow full health checking of deployed applications, including low memory detection, error fault handlers and even a stack trace API!

Core Support

J2SE 1.5 introduces revisions to the core XML platform, including XML 1.1, SAX 2.0 and Level 3. The complementary service technologies, JAX-RPC and JAXB, will continue to be available in the Web services pack. A later J2SE release may include these APIs in the J2SE core.

Desktop Client

The final theme covered was Desktop Client. This focus brings a welcome refresh to the default Look and Feel and also improved skins support. In addition to the startup and footprint improvements, desktop developers have a lot to look forward to.

Unicode 3.1 Support

32-bit surrogate character support will be carefully added to the platform so the Java "char" will still remain at 16 bits.

New IO Support

There are updates to support asynchronous IO and to exploit further use of these APIs in the platform where appropriate.

With new J2SE products, 1.4.2 and 1.5, Java developers have an exciting year ahead of them.

See Also

ugs/index.html">J2SE 1.4.2: Bug Fixes and Upgrades ()

()

()


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752043/viewspace-998005/,如需轉載,請註明出處,否則將追究法律責任。

相關文章