Update langtools tests to remove unncessary -source and -target options

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • b62
    • generic
    • generic
    • Not verified

        Unlike most other Java programs, javac regression tests should by default not have a specified -source or -target setting. That way, by default tests are assumed to be applicable to the next version of Java too, which is usually true. In specialized cases, tests are -source or -target version specific.

        Spurious settings of -source and -target should be purged from the regression tests suite. This will improve the effectiveness of testing of the repository.

        (Explicit -source settings are needed to test new language features in a release when the default source/target is earlier than the latest source/target.)

              Assignee:
              Joe Darcy
              Reporter:
              Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: