- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    15.0.1
- 
        b04
- 
        generic
- 
        generic
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8291862 | 11.0.18-oracle | Adam Sotona | P4 | Resolved | Fixed | b01 | 
| JDK-8290433 | 11.0.17 | Dukebot | P4 | Resolved | Fixed | b01 | 
                    ADDITIONAL SYSTEM INFORMATION :
Java 8 all the way up to 15
A DESCRIPTION OF THE PROBLEM :
FilerOutputStream, which can be used by annotation processors to write source files, extends from FilterOutputStream without overwriting the write(byte[], offset, length) method. This means that content written to this stream is written to disk one byte at a time, greatly slowing down builds.
CUSTOMER SUBMITTED WORKAROUND :
Use JavaFileObject.openWriter instead, which does not suffer from this performance problem.
FREQUENCY : always
            
Java 8 all the way up to 15
A DESCRIPTION OF THE PROBLEM :
FilerOutputStream, which can be used by annotation processors to write source files, extends from FilterOutputStream without overwriting the write(byte[], offset, length) method. This means that content written to this stream is written to disk one byte at a time, greatly slowing down builds.
CUSTOMER SUBMITTED WORKAROUND :
Use JavaFileObject.openWriter instead, which does not suffer from this performance problem.
FREQUENCY : always
- backported by
- 
                    JDK-8290433 com.sun.tools.javac.processing.JavacFiler.FilerOutputStream is inefficient -           
- Resolved
 
-         
- 
                    JDK-8291862 com.sun.tools.javac.processing.JavacFiler.FilerOutputStream is inefficient -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk11u-dev/8486da7d Commit
        openjdk/jdk11u-dev/8486da7d
- 
                     Commit
        openjdk/jdk/526c0005 Commit
        openjdk/jdk/526c0005
- 
                     Review
        openjdk/jdk11u-dev/1218 Review
        openjdk/jdk11u-dev/1218
- 
                     Review
        openjdk/jdk/1854 Review
        openjdk/jdk/1854
             (1 links to)