1. Create a Manifest object from a stream which contains some top-level entires but no mainifest-version. No exception is thrown, so the creation seems to succeed. Attributes are created for the top-level entries. Now write the Manifest to a stream. All top-level entries are omitted.
2. Create a Manifest object from a file whose last line is not terminated (i.e. does not end with a NL on Unix or CRLF on Windows). The text in the last line is silently ignored.
2. Create a Manifest object from a file whose last line is not terminated (i.e. does not end with a NL on Unix or CRLF on Windows). The text in the last line is silently ignored.
- duplicates
-
JDK-4271239 Manifest.write(OutputStream) does not write main attrs when no Manifest-Version
-
- Open
-