Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315810 Reimplement sun.reflect.ReflectionFactory::newConstructorForSerialization with method handles
  3. JDK-8317113

Release Note: Reimplement `sun.reflect.ReflectionFactory::newConstructorForSerialization` with Method Handles

XMLWordPrintable

      `sun.reflect.ReflectionFactory::newConstructorForSerialization` is reimplemented with method handles.

      When `newConstructorForSerialization(C.class, ctor)` is called with a constructor whose declaring class is not a superclass of `C`, the old implementation returned an ill-formed constructor such that if `newInstance` is invoked, the behavior is unspecified. The new implementation will throw an `UnsupportedOperationException` instead, to fail fast.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: