-
Enhancement
-
Resolution: Duplicate
-
P4
-
21
`-XX:CompileOnly` does not support asterisk (*) as wildcard whereas `-XX:CompileCommand=compileonly` does:
- does not work: `java -Xcomp -XX:CompileOnly=java.lang.*::* -XX:+PrintCompilation -XX:CompileCommand=quiet -version`
- works: `java -Xcomp -XX:CompileCommand=compileonly,java.lang.*::* -XX:+PrintCompilation -XX:CompileCommand=quiet -version`
- does not work: `java -Xcomp -XX:CompileOnly=java.lang.*::* -XX:+PrintCompilation -XX:CompileCommand=quiet -version`
- works: `java -Xcomp -XX:CompileCommand=compileonly,java.lang.*::* -XX:+PrintCompilation -XX:CompileCommand=quiet -version`
- duplicates
-
JDK-8027711 Unify wildcarding syntax for CompileCommand and CompileOnly
- Resolved