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

Specify how a referenced name is imported

XMLWordPrintable

      The specification doesn't seem to define how a name may be imported. This contributes to discrepancies between systems. For example, IntelliJ IDEA seems to not consider classes and interfaces from the java.lang package to be implicitly imported.

        1. image-2021-08-27-18-03-21-684.png
          60 kB
          Pavel Rappo
        2. image-2021-08-27-18-04-55-707.png
          62 kB
          Pavel Rappo
        3. java-lang-package-explicit.png
          19 kB
          Pavel Rappo
        4. java-lang-package-implicit.png
          16 kB
          Pavel Rappo
        5. parameter.png
          69 kB
          Pavel Rappo
        6. same-package-explicit.png
          30 kB
          Pavel Rappo
        7. same-package-implicit.png
          31 kB
          Pavel Rappo

            Unassigned Unassigned
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: