Non-serializable fields in serializable classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b32
    • generic
    • generic

        There are various non-transient fields containing MethdHandles or Switchpoints that break serialization for persistent code caching. These fields are usually not initialized when storing persistent script classes. They should be defined as transient.

        Also, the new Parser.ParseState class is stored in a RecompilableScriptFunctionData field and should be serializable.

              Assignee:
              Hannes Wallnoefer
              Reporter:
              Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: