mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8144226: Sjavac's handling of include/exclude patterns is buggy, redundant and inconsistent
Rewrote sjavac include/exclude pattern handling. Reviewed-by: jlahoda
This commit is contained in:
parent
180c59d147
commit
b345518d32
17 changed files with 462 additions and 522 deletions
|
@ -58,8 +58,6 @@ public class Serialization {
|
|||
Option.D.arg, "dest",
|
||||
Option.I.arg, "pkg/*",
|
||||
Option.X.arg, "pkg/pkg/*",
|
||||
Option.IF.arg, "root/pkg/MyClass1.java",
|
||||
Option.XF.arg, "root/pkg/MyClass2.java",
|
||||
Option.SRC.arg, "root",
|
||||
Option.SOURCEPATH.arg, "sourcepath",
|
||||
Option.CLASSPATH.arg, "classpath",
|
||||
|
@ -87,8 +85,6 @@ public class Serialization {
|
|||
assertEquals(sl1.getPath(), sl2.getPath());
|
||||
assertEquals(sl1.getIncludes(), sl2.getIncludes());
|
||||
assertEquals(sl1.getExcludes(), sl2.getExcludes());
|
||||
assertEquals(sl1.getIncludedFiles(), sl2.getIncludedFiles());
|
||||
assertEquals(sl1.getExcludedFiles(), sl2.getExcludedFiles());
|
||||
|
||||
assertEquals(options1.getClassSearchPath(), options2.getClassSearchPath());
|
||||
assertEquals(options1.getSourceSearchPaths(), options2.getSourceSearchPaths());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue