Content deleted Content added
m Ref. |
m Ref. |
||
Line 51:
== J2SE 5.0 ([[September 30]], [[2004]])==
Codename '''Tiger'''.
(Originally numbered 1.5, which is still used as the internal version number.<ref name = "version 5">[http://java.sun.com/j2se/1.5.0/docs/relnotes/version-5.0.html Version 5 release notes], Sun.</ref>) Developed under [http://www.jcp.org/en/jsr/detail?id=176 JSR 176], Tiger added a number of significant new language features: [http://www.sun.com/smi/Press/sunflash/2004-09/sunflash.20040930.1.html press release] [http://java.sun.com/j2se/1.5/docs/relnotes/features.html full list of changes]
; [[Generic programming|Generics]]: Provides compile-time (static) [[type safety]] for collections and eliminates the need for most [[Type conversion|typecasts (type conversion)]]. (Specified by [http://www.jcp.org/en/jsr/detail?id=14 JSR 14].)
; [[Metadata (computing)|Metadata]]: Also called [[Java annotation|annotation]]s, allows language constructs such as classes and methods to be tagged with additional data, which can then be processed by metadata-aware utilities. (Specified by [http://www.jcp.org/en/jsr/detail?id=175 JSR 175].)
Line 81:
Major changes included in this version: [http://www.sun.com/smi/Press/sunflash/2006-12/sunflash.20061211.1.xml press release] [http://java.sun.com/javase/6/features.jsp full list of changes]
* Scripting Language Support ([[JSR 223]]): Generic API for tight integration with scripting languages, and built-in [[Mozilla]] [[Javascript]] [[Rhino (JavaScript engine)|Rhino]] integration
* Dramatic performance improvements for the core platform<ref name = "lobby">[http://www.javalobby.org/java/forums/t66270.html Java Lobby].</ref><ref name = "weblog">[http://weblogs.java.net/blog/opinali/archive/2005/11/mustangs_hotspo.html Muſtang’s HotSpot], Sun weblogs.</ref>, and [[Swing_(Java)|Swing]].
* [[JDBC]] 4.0 support ([[JSR 221]]).
* Java Compiler API ([[JSR 199]]): an API allowing a Java program to select and invoke a Java Compiler programmatically.
|