# HG changeset patch # User mchung # Date 1444162821 25200 # Node ID 1f610b093f5e106be6cf8aae29902ca28721a013 # Parent 7b999f099d8795207f38d56173c352b5c66d43b1 8132297: JDK9 build.tools.module.ImageBuilder does not filter out .bc files Reviewed-by: alanb, chegar diff -r 7b999f099d87 -r 1f610b093f5e jdk/make/src/classes/build/tools/module/ModuleArchive.java --- a/jdk/make/src/classes/build/tools/module/ModuleArchive.java Tue Oct 06 13:49:41 2015 -0300 +++ b/jdk/make/src/classes/build/tools/module/ModuleArchive.java Tue Oct 06 13:20:21 2015 -0700 @@ -105,6 +105,7 @@ entries.addAll(stream .filter(p -> !Files.isDirectory(p) && !classes.relativize(p).toString().startsWith("_the.") + && !classes.relativize(p).toString().endsWith(".bc") && !classes.relativize(p).toString().equals("javac_state")) .sorted() .map(p -> toEntry(p, classes, EntryType.CLASS_OR_RESOURCE))