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

Eliminate java.io.File dependency on java.beans.ConstructorProperties

XMLWordPrintable

    • b142
    • generic
    • generic
    • Not verified

      java.io.File is annotated with java.beans.ConstructorProperties in JDK 7
      (6708550). From modularity's perspective, this is a undesirable dependency.
      The base module (where java.io.File class is) cannot depend on any other module.
      Unless java.beans.ConstructorProperties is included in the base module and
      splitting java.beans package across the base module and the client module,
      such dependency has to be eliminated.

      It is still an open requirement whether a module system supports multi-module packages
      (aka split packages). In order to leave the options open (no multi-module package
      support), we should back out the fix for 6708550 in JDK 7. We can reimplement
      the fix in JDK 8 once it is determined that multi-module package will be supported.

            mchung Mandy Chung
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: