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

Typo in file name in example for -Xlint:processing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 17
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        A DESCRIPTION OF THE PROBLEM :
        https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html

        Proposed fix: https://github.com/openjdk/jdk/pull/3937

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Check the section "Examples of Using -Xlint keys" https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html#examples-of-using--xlint-keys for "processing" key.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Many possibilities.
        - Referenced file name matches contained class.
        - Contained class name matches the file name.
        - The class to not be not public.
        ACTUAL -
        Referenced file name does not match the name of public class.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jjg Jonathan Gibbons
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: