JDK-6536999 : JLS3 chapter 7 Packages has several typos and inaccuracy.
  • Type: Bug
  • Component: specification
  • Sub-Component: language
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-03-21
  • Updated: 2014-02-26
  • Resolved: 2011-07-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 rcFixed
Related Reports
Relates :  
Description
JLS 7.5.4 should say:

- "A static-import-on-demand declaration allows all accessible static members ***of*** the type named by a canonical name to be imported as needed:"

(i.e. members which are declared OR inherited in the type, as per 6.4.3, 8.2 and 9.2.)

- "Two or more static-import-on-demand declarations in the same compilation unit may name the same type; the effect is as if there was exactly one such declaration."

(i.e. not "same type ***or package***")

Comments
EVALUATION Yes.
21-03-2007