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

Encountered null CLD while loading shared lambda proxy class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • b23

      With the following patch, JDK build will fail the assert during the creation of classlist.raw.

      diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
      index df04200a4dc..cdf171636e9 100644
      --- a/src/hotspot/share/oops/instanceKlass.cpp
      +++ b/src/hotspot/share/oops/instanceKlass.cpp
      @@ -387,6 +387,7 @@ void InstanceKlass::set_nest_host(InstanceKlass* host) {
         _nest_host = host;
         // Record dependency to keep nest host from being unloaded before this class.
         ClassLoaderData* this_key = class_loader_data();
      + assert(this_key != NULL, "");
         this_key->record_dependency(host);
       }

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: