ObjectStreamField constructor eagerly load ObjectStreamClass

XMLWordPrintable

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

      ObjectStreamField uses ObjectStreamClass.getClassSignature, a simple static utility. This cause ObjectStreamClass to load, pulls in a few classes and does some native initialization that could be deferred.

      It seems these utility methods could be replaced by using unparse/unparseMethod in sun.invoke.util.BytecodeDescriptor

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: