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

Test result error when @build used without @run main

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • jtreg4.1
    • tools
    • None
    • 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.


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

              Created:
              Updated:
              Resolved: