Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
/ jdk20 Public archive

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

Backport-of: 836198a4009c4a3f10a76dc8734e4792bb2509ba
  • Loading branch information
asotona committed Jan 24, 2023
1 parent a3ed7e9 commit 60b8a98
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 @@ -723,6 +723,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

3 comments on commit 60b8a98

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@JesperIRL
Copy link
Member

Choose a reason for hiding this comment

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

/tag jdk-20+33

@openjdk
Copy link

@openjdk openjdk bot commented on 60b8a98 Jan 26, 2023

Choose a reason for hiding this comment

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

@JesperIRL The tag jdk-20+33 was successfully created.

Please sign in to comment.