Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4607354
Votes 1
Synopsis Include generics in Java
Category java:compiler
Reported Against tiger , mantis-beta
Release Fixed 1.5(tiger)
State 10-Fix Delivered, request for enhancement
Priority: 2-High
Related Bugs 4856545 , 4869449
Submit Date 13-DEC-2001
Description





Include Generics in Java but maintain full reflection and debugging
functionality.

======================================================================
Work Around
N/A
Evaluation




This feature has been added for Tiger release

======================================================================

I presume the "full reflection" does NOT refer to reflecting on the
runtime type of a type variable.  While we have some ideas on how to
do that, it would be a major change in direction from our current ideas
and implementation.

The task of adding generics requires coordinated work from a number of
subsystems, notably: a major overhaul of the public APIs of core libraries;
an overhaul of the language specification; JCK test suite development;
product, training and tutorial documents; an overhaul of the J2SE workspace
organization, bootstrap and build process; extensions to the JPDA debugger
interface; an extension of the javadoc API to support generics; and an 
overhaul of the standard doclet, MIF doclet, and other Sun-supplied doclets 
to properly handle code involving generics.

I presume that work is intended to be included in the scope of this RFE.

  xxxxx@xxxxx   2001-12-13
Comments
  
  Include a link with my name & email   

Submitted On 03-JAN-2002
josgood
Yes, PLEASE do a major overhaul of the core libraries.  
Note that RFE "Request auto boxing of primitives in Java" 
(bug 4609038) can have a similarly broad impact.  As part 
of the overhaul, it's way past time to whack all the 
deprecated stuff.  (At the very least the JDK 1.0 legacy.)

I strongly encourage Sun to market JDK 1.5 as "Java 3", a 
new slimmer, faster version of Java with more more and less 
less.


Submitted On 24-AUG-2003
gafter
> Yes, PLEASE do a major overhaul of the core libraries.

This is not specific enough to be acted upon.



PLEASE NOTE: JDK6 is formerly known as Project Mustang