Skip to content

Commit

Permalink
Add annotations to "new" LinkageError constructor
Browse files Browse the repository at this point in the history
(This is commit 4c99753 but modified to
JSpecify annotations.)
  • Loading branch information
cpovirk committed Mar 8, 2021
1 parent 76dc824 commit 78703ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/java.base/share/classes/java/lang/LinkageError.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public LinkageError(@Nullable String s) {
* @param cause the cause, may be {@code null}
* @since 1.7
*/
public LinkageError(String s, Throwable cause) {

public LinkageError(@Nullable String s, @Nullable Throwable cause) {
super(s, cause);
}
}

0 comments on commit 78703ec

Please sign in to comment.