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

Move some ClassLoader name checking to native/VM

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • None
    • core-libs

    Description

      For findBootstrapClassOrNull and findLoadedClass, the result of a malformed name is returning null, which is what the native methods return on error. The equivalent of the checkName sanity test is either already performed or could be performed for free in the native layer, which saves a few cycles on startup.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: