-
Key: I2JAV11-64
-
Legacy Issue Number: 1701
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: The IDL to Java mapping specifies that IDL constants are mapped
to public static final fields within a Java interface. Examples
are shown that include "public static final" modifiers for these
fields.The Java Language Specification (Gosling/Joy/Steele) states in
section 9.3 that "Every field declaration in the body of an
interface is implicitly public, static, and final. It is permitted,
but strongly discouraged as a matter of style, to redundantly
specify any or all of these modifiers for such fields."I propose that the text and examples be changed to remove the
explicit "public static final" modifiers. -
Reported: I2JAV 1.0 — Mon, 20 Jul 1998 04:00 GMT
-
Disposition: Resolved — I2JAV 1.1
-
Disposition Summary:
closed issue
-
Updated: Fri, 6 Mar 2015 21:36 GMT
I2JAV11 — Mapping of IDL constants to Java
- Key: I2JAV11-64
- OMG Task Force: IDL to Java December 2000 RTF