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

test/tools/apt/Basic/print.sh may fail depending on jtreg options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • tools
    • apt
    • b39
    • generic
    • generic
    • Not verified

        test/tools/apt/Basic/print.sh is a golden file test. It uses jtreg @build to compile a file Aggregate.java, and then uses apt to print it. The result is compared against a golden file. The problem is that @build will use jtreg compiler options and so may or may not include -g. This affects the debugging info written to the class file, and so affects the apt outut.

        The test should be rewritten to compile the file directly, and not use @build.

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: