Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6410256

LTP: Possible backward incompatibility in DefaultPersistenceDelegate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Scott Violet wrote:

      I think we should consider putting the code that dug out fields back :(
      The important thing is none of our public API relies on it, so that you can persist any public classes in a sandbox without reflection hacks. Developers that want to use LTP to persist private fields, should be allowed to, assuming they have the right permissions.

      Shannon Hickey wrote:

      What do you think about reverting part of your change for compatibility reasons? That is, favor field access if you have the right permissions, otherwise use getters.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              malenkov Sergey Malenkov (Inactive)
              Reporter:
              malenkov Sergey Malenkov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: