void () { GlobPatternDescriptor entry = new GlobPatternDescriptor("/src/**/test/*.java"); // Fails, why??? assertTrue(entry.matches(createFile("src/test/file1.java"))); assertTrue(entry.matches(createFile("src/dir1/test/file1.java"))); assertTrue(entry.matches(createFile("src/dir1/dir2/test/file1.java"))); assertFalse(entry.matches(createFile("src/dir1/dir2/test/dir3/file1.java"))); GlobPatternDescriptor entry2 = new GlobPatternDescriptor("/src/**/test/**/*.java"); // Fails, why??? assertTrue(entry2.matches(createFile("src/test/a/file1.java"))); assertTrue(entry2.matches(createFile("src/b/test/a/file1.java"))); }