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

StandardJavaFileManager: getJavaFileObjects() impl violates the spec

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P2
    • Resolution: Approved
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      No change in behavior, only the specification of the default method behavior is adjusted.
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

      Summary

      The specification of the implementation of several default methods in StandardJavaFileManager is adjusted to adhere more closely to the actual behavior.

      Problem

      The actual behavior of several StandardJavaFileManager methods diverges from the specification, in particular when other StandardJavaFileManager methods are overridden and implemented in a way that ignores inputs.

      Solution

      The specification/javadoc of several StandardJavaFileManager methods is adjusted to allow and document the actual behavior of the default methods.

      Specification

      The specdiff of the proposed changes will be attached, and is also available for convenience here: http://cr.openjdk.java.net/~jlahoda/8266631/specdiff.00/java.compiler/javax/tools/StandardJavaFileManager.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlahoda Jan Lahoda
              Reporter:
              dbessono Dmitry Bessonov
              Reviewed By:
              Joel Borggrén-Franck (Inactive), Jonathan Gibbons, Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: