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

Module xxxAnnotation() methods throw NCDFE if module-info.class found as resource in unnamed module

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None

      Backports

        Description

        This bug was reported here:
          https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-March/065477.html

        loadModuleInfoClass creates a special class loader to load "module-info".It should never delegate to load or find this class.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alanb Alan Bateman
                  Reporter:
                  alanb Alan Bateman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: