-
Bug
-
Resolution: Fixed
-
P3
-
jtreg4.1
-
None
-
$ jtreg -version
jtreg, version 4.1 fcs b06
Installed in /home/iignatye/jdk-tools/jtreg/lib/jtreg.jar
Running on platform version 1.7.0_17 from /usr/lib/jvm/jdk1.7.0_17/jre.
Built with Java(TM) 2 SDK, Version 1.5.0-b64 on May 03, 2013.
Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
JCov 2.0-b13 beta
TestNG: version 6.7-201209281340$ jtreg -version jtreg, version 4.1 fcs b06 Installed in /home/iignatye/jdk-tools/jtreg/lib/jtreg.jar Running on platform version 1.7.0_17 from /usr/lib/jvm/jdk1.7.0_17/jre. Built with Java(TM) 2 SDK, Version 1.5.0-b64 on May 03, 2013. Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. JCov 2.0-b13 beta TestNG: version 6.7-201209281340
-
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) { }
}
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) { }
}
- duplicates
-
CODETOOLS-7900323 Unable to build class-name wildcard
- Resolved