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

Remove ClassLoaderExt::check()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      ClassLoaderExt::check is only called for the boot loader. The signed JAR file checking should be remove from ClassLoaderExt::check:

      bool ClassLoaderExt::check(ClassLoaderExt::Context *context,
                                const ClassFileStream* stream,
                                const int classpath_index) {
       if (stream != NULL) {
      - // Ignore any App classes from signed JAR file during CDS archiving
      - // dumping
      - if (DumpSharedSpaces &&
      - SharedClassUtil::is_classpath_entry_signed(classpath_index) &&
      - classpath_index >= _app_paths_start_index) {
      - tty->print_cr("Preload Warning: Skipping %s from signed JAR",
      - context->class_name());
      - return false;
      - }

        Attachments

          Activity

            People

            • Assignee:
              jiangli Jiangli Zhou
              Reporter:
              jiangli Jiangli Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: