Details
-
Type:
Enhancement
-
Status: Closed
-
Priority:
P4
-
Resolution: Won't Fix
-
Affects Version/s: 1.4.0
-
Fix Version/s: None
-
Component/s: specification
-
Labels:
-
Subcomponent:
-
CPU:x86
-
OS:windows_2000
Description
Name: nt126004 Date: 08/08/2002
FULL PRODUCT VERSION :
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
FULL OPERATING SYSTEM VERSION : Windows 2000
A DESCRIPTION OF THE PROBLEM :
Can we please have inner classes that allow static
declarations?
I have an an inner class that logically requires a static
variable, just as a top-level class might require a static
variable. Instead, I have to put the static variable in the
outer class, where it doesn't belong.
Maybe there's something I don't understand...I don't see a
technical reason for preventing inner classes from having
statics.
Thanks
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 159680)
======================================================================