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

Typo in file name in example for -Xlint:processing

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 17
    • tools
    • b30
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: