-
Enhancement
-
Resolution: Other
-
P4
-
None
-
None
The bytecode we generate to initialize an array filled with constants
is very verbose. It could be simplified considerably if there
were a way to express a constant array in the constant pool.
It would be best if there were a way to express such arrays
containing primitive types, constant Strings, and null.
is very verbose. It could be simplified considerably if there
were a way to express a constant array in the constant pool.
It would be best if there were a way to express such arrays
containing primitive types, constant Strings, and null.
- duplicates
-
JDK-6698010 RFE: Classfile enhancement for more optimal data initialization
-
- Closed
-
- relates to
-
JDK-4847397 compiler shouldn't initialize elements to 0 in array initializers (redux)
-
- Closed
-
-
JDK-6896139 Multiple-class classfile format needed
-
- Closed
-