Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8215788: Clarify JarInputStream Manifest access #10045

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/util/jar/JarInputStream.java
Original file line number Diff line number Diff line change
@@ -57,9 +57,9 @@
* </p>
* <h2>Signed JAR Files</h2>
*
* A {@code JarInputStream} may be used to verify the signatures of a
* <a href="{@docRoot}/../specs/jar/jar.html#signed-jar-file">signed JAR file</a>
* assuming the following requirements are met:
* A {@code JarInputStream} verifies the signatures of entries in a
* <a href="{@docRoot}/../specs/jar/jar.html#signed-jar-file">Signed JAR file</a>
* when:
* <ul>
* <li>
* The {@code Manifest} is the first entry in the stream (or the second