Test result error when @build used without @run main

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: jtreg4.1
    • Component/s: tools
    • None
    • Environment:

      open jdk

    • b11
    • windows

      In the test header:
      /* @test
      ...
         @library /lib/testlibrary
         @build jdk.testlibrary.OSInfo
        */

      jtreg version 4.1 fcs b05:

      Test results: passed: 1

      jtreg version 4.1 dev b11:

      Test results: error: 1

      ----------messages:(0/0)----------

      test result: Error. No action after @build


      It works only if line "@run main <Class name>" is added.
      This new constraint is unexpected.


            Assignee:
            Jonathan Gibbons
            Reporter:
            Semyon Sadetsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: