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

jtreg doesn't recognize wildcard in build action

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jtreg4.1
    • Fix Version/s: jtreg4.1
    • Component/s: tools
    • Labels:
      None
    • Environment:
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      Accroding to 'The JDK Test Framework: Tag Language Specification' build action should accept class-name wildcard as argument and process it as all classes in the named package.
      But jtreg fails:
      ----------messages:(2/61)----------
      command: build *
      reason: User specified action: run build *
      result: Not run. Test running...

      test result: Error. Can't find source file: *.java in directory-list: /home/iignatye/test/jtreg

      $ cat /home/iignatye/test/jtreg/Test.java
      /*
       * @test Test
       * @build *
       * @run main Test
       */
      public class Test {
        public static void main(String[] args) { }
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              iignatyev Igor Ignatyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: