Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903199

enable preview behavior is all or nothing for imported testNG tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      See the PR here:

      https://github.com/openjdk/jdk/pull/8843

      A bunch of stream tests have to be disabled on x86 because enable preview is added for all of them even though, in reality only one of them needs the flag.

      This seems to be caused by a bad interaction of preview features and the `TestNG.dirs` in the TEST.properties file. The only way to make tests depending on preview feature work in that setting is to add a line `enablePreview=true` in TEST.properties, which then enables preview features for _all_ tests.

            cstein Christian Stein
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: