jtreg doesn't recognize wildcard in build action

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jtreg4.1
    • Affects Version/s: jtreg4.1
    • Component/s: tools
    • None
    • Environment:
    • b09

      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) { }
      }

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

              Created:
              Updated:
              Resolved: