changeset 32880:1f610b093f5e

8132297: JDK9 build.tools.module.ImageBuilder does not filter out .bc files Reviewed-by: alanb, chegar
author mchung
date Tue, 06 Oct 2015 13:20:21 -0700
parents 7b999f099d87
children 5f9d335c43c3
files jdk/make/src/classes/build/tools/module/ModuleArchive.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))