RFR : 7148584 Jar tools fails to generate manifest correctly when boundary condition hit
sean.coffey at oracle.com
Fri Mar 9 15:52:58 UTC 2012
Issue seen when the inner Manifest.FastInputStream.peek() method is called just as we hit EOF of main buffer being parsed (the manifest input file)
Simple fix involves getting peek() to return -1 if a fill() request fails to read anything.
webrev : http://cr.openjdk.java.net/~coffeys/webrev.7148584.jdk8/
Bug report : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7148584
More information about the core-libs-dev