JDK-2212207 : Regression: javac compiles fixed sources against previous, not current, version of generated sources
  • Type: Backport
  • Backport of: JDK-7068451
  • Component: tools
  • Sub-Component: javac
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-07-27
  • Updated: 2012-02-24
  • Resolved: 2012-02-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u2Fixed 8 b06Fixed
Description
See Description in JDK 8 MR.

Comments
EVALUATION The problem is caused by BaseFileManager.contentCache. The cache for a file should be flushed when a file that might have been cached is opened for writing.
01-09-2011