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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: