AOT cache support for custom class loaders broken since JDK-8348426

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • b18
    • Verified

      Since JDK-8348426 (Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file), the AOT cache no longer contains classes intended for custom class loaders (these are called "unregistered classes" in CDS terminology).

      The fix is simple -- we already remember the set of unregistered classes in the AOT configuration file. We just need to add them into the final AOT cache.

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: