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

MethodHandleImpl.initStatics is no longer needed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None
    • b99
    • generic
    • generic

      Some classes in java.lang.invoke are preloaded by the VM, and they call a hook to initialized MethodHandleImpl. This seems to have no real effect with the current implementation than to to eagerly load a few classes.

      If there is some subtle issue for why the initStatics call is still needed this should be documented with a test.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: