changeset 12854:fe40b31c0e52 jdk9-b85

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 4204dbf90380
children 87017a198d4e f1799292ea4b
files make/src/classes/build/tools/module/ModuleArchive.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/src/classes/build/tools/module/ModuleArchive.java	Tue Oct 06 13:49:41 2015 -0300
+++ b/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))