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

jtreg doesn't recognize wildcard in build action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg4.1
    • jtreg4.1
    • tools
    • None
    • 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) { }
      }

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

              Created:
              Updated:
              Resolved: