JDK-4173702 : Parameterized classes
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95,windows_nt
  • CPU: x86
  • Submitted: 1998-09-15
  • Updated: 1998-12-14
  • Resolved: 1998-12-14
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
NOTE: this bug has been closed as a duplicate of 4064105.  If you
wish to vote for this issue in JDC, please vote for 4064105 instead.


Name: mf23781			Date: 09/15/98


*Description:

We know that JavaSoft have a working implementation of templatized
classes for Java. It uses the pervasive dynamic type information
in Java to avoid many of the problems associated with templates
in C++. This would be a very useful feature because it would make
code that used collections much easier to write. Quite a few people
in IBM are very interested in this feature, and would like to see
it finished in time for JDK1.3.
======================================================================

Comments
EVALUATION I believe that a clean, simple parameterized typing facility (along the lines of http://www.cs.bell-labs.com/who/wadler/pizza/gj/index.html ) would represent a fine addition to the language, especially when combined with the 1.2 collections facility. joshua.bloch@Eng 1998-09-16 Parameterization can indeed be very useful. In considering the various proposals, we are particularly concerned about the impact of such a large change on our customers, especially with respect to compatibility and stability. The investigation of our options is ongoing. david.stoutamire@Eng 1998-09-16
16-09-1998