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

CheckUnhandledOops breaks NULL check in Modules::define_module

XMLWordPrintable

    • b14

        Because of this most tests fail to start with exploded builds.

        CheckUnhandledOops overwrites any oops found on the stack, whenever a safepoint transition might happen.

        It even changes the values of NULL oops. This causes the following code to fail:
           // If the module is defined to the boot loader and an exploded build is being
           // used, prepend <java.home>/modules/modules_name to the system boot class path.
          if (loader == NULL && !ClassLoader::has_jrt_entry()) {
             ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
           }

        because loader isn't NULL anymore.

              stefank Stefan Karlsson
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: