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

update AllLocations.java to test class file contents

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd_minor
    • Component/s: tools

      Description

      The test langtools/test/tools/javac/annotations/typeAnnotations/newlocations/AllLocations.java
      is a good test of all the locations that type annotations can appear in source code.

      Currently, it is just a test that the compiler doesn't crash when compiling this code. It would be good to update the test to have it verify that the expected attributes are found in the .class file.

        Attachments

          Activity

            People

            • Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: