Skip to content

Commit

Permalink
8300591: @SuppressWarnings option "lossy-conversions" missing from jd…
Browse files Browse the repository at this point in the history
…k.compiler module javadoc

Reviewed-by: jjg, darcy
  • Loading branch information
asotona committed Jan 23, 2023
1 parent 45e4e00 commit 836198a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/jdk.compiler/share/classes/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
* <tr><th scope="row">{@code fallthrough} <td>falling through from one case of a {@code switch} statement to
* the next
* <tr><th scope="row">{@code finally} <td>{@code finally} clauses that do not terminate normally
* <tr><th scope="row">{@code lossy-conversions} <td>possible lossy conversions in compound assignment
* <tr><th scope="row">{@code missing-explicit-ctor} <td>missing explicit constructors in public and protected classes
* in exported packages
* <tr><th scope="row">{@code module} <td>module system related issues
Expand Down
3 changes: 3 additions & 0 deletions src/jdk.compiler/share/man/javac.1
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@ a switch statement to the next.
\f[V]finally\f[R]: Warns about \f[V]finally\f[R] clauses that do not
terminate normally.
.IP \[bu] 2
\f[V]lossy-conversions\f[R]: Warns about possible lossy conversion in
compound assignment.
.IP \[bu] 2
\f[V]missing-explicit-ctor\f[R]: Warns about missing explicit
constructors in public and protected classes in exported packages.
.IP \[bu] 2
Expand Down

1 comment on commit 836198a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.