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

update AllLocations.java to test class file contents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • tools

      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.

            vromero Vicente Arturo Romero Zaldivar
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: