Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8300591

@SuppressWarnings option "lossy-conversions" missing from jdk.compiler module javadoc

XMLWordPrintable

    • 20
    • b33
    • generic
    • generic

        The `@SuppressWarnings` lint option `lossy-conversions` is supported by the compiler but neither listed in `module-info.java` for the `jdk.compiler` module nor listed on the man page `javac.1`.

        Looks like the former was never added and the latter may have gotten removed accidentally as part of this commit:

        commit 5a45c25151b1da8e329ea2be21a0e4d2652f8b4a
        Author: Jonathan Gibbons <jjg@openjdk.org>
        Date: Mon Nov 21 22:03:48 2022 +0000

            8297164: Update troff man pages and CheckManPageOptions.java
            
            Reviewed-by: dholmes

              asotona Adam Sotona
              acobbs Archie Cobbs
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: