JDK-4215635 : Package class incomplete.
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-02-26
  • Updated: 1999-03-23
  • Resolved: 1999-03-23
Related Reports
Duplicate :  
Description

Name: dbT83986			Date: 02/26/99


The Package class needs a method
  public Class[] getClasses()

which should return all the classes in the package.

Symetrically, the Class class should get a method
  public Package getPackage()
returning the package in which the Class was found.

At present, introspecting on Packages is pretty limited.
(Review ID: 48913)
======================================================================