java.lang.module.ModuleDescriptor constructor could be made private

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: core-libs

      JDK-8344943 suggests that this class can be made final.

      As a follow up to that, it was noticed that the now package-private constructor of ModuleDescriptor could be made private. It is only accessed from the class itself, via JavaLangModuleAccess.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: