Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-540

Support for final modifier on fields of Persistence-Capable classes

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      None

      Description

      Per changes introduced in Java5 as part of JSR-133, post-construction modification of final fields is now possible when calling setAccessible(true) on a field via reflection.

      Heinz Kabutz gives a good discussion of the feature: http://www.javaspecialists.eu/archive/Issue096.html

      Supporting final on fields would make JDO even less intrusive than it already is, and would allow users to create richer class definitions.

      Let's discuss...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cbeams Chris Beams
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: