Reported on compiler-dev mailing list:
The order of files given to javac via JavacTask affects which files are generated. -XDverboseCompilePolicy indicates two files are being deferred and not then not generated.
1- javac given java source JavaFileObjects [C:\foo\src\T2.java, C:\foo\src\T1.java, C:\foo\src\T3.java, C:\foo\src\Test.java]
2- 4 4 2
3- C:\foo\tgt\T3.class C:\foo\tgt\Test.class
5- C:\foo\tgt\T3.class C:\foo\tgt\Test.class
[generate code T3]
[generate code Test]
[Test program attached]
Root cause is "11-Closed/Not Reproducible", meaning that the bug does not exist as described in JDK7 at this point. However, a test has been filed and pushed, so to keep the audit scripts happy, the bug is being marked 10-Fix Delivered.