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

StandardJavaFileManager: getJavaFileObjects() impl violates the spec

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P2 P2
    • 17
    • tools
    • None
    • behavioral
    • minimal
    • No change in behavior, only the specification of the default method behavior is adjusted.
    • Java API
    • SE

      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

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

              Created:
              Updated:
              Resolved: