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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: