Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit d63ed0a

Browse files
committed
8284907: Compact profiles build fails with GNU make 4
Reviewed-by: tbell, ihse
1 parent dfcf70d commit d63ed0a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

jdk/make/CreateJars.gmk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,15 @@ $(BEANLESS_CLASSES)/%: $(JDK_OUTPUTDIR)/classes/%
309309
$(MKDIR) -p $(@D)
310310
$(TOOL_REMOVEMETHODS) '$<' $@ addPropertyChangeListener removePropertyChangeListener
311311

312+
# Code these targets explicitly because the target "%" expansion does
313+
# not work with the inline "$" in the file name.
314+
$(BEANLESS_CLASSES)/java/util/jar/Pack200\$$Packer.class: $(JDK_OUTPUTDIR)/classes/java/util/jar/Pack200$$Packer.class
315+
$(MKDIR) -p $(@D)
316+
$(TOOL_REMOVEMETHODS) '$<' $@ addPropertyChangeListener removePropertyChangeListener
317+
$(BEANLESS_CLASSES)/java/util/jar/Pack200\$$Unpacker.class: $(JDK_OUTPUTDIR)/classes/java/util/jar/Pack200$$Unpacker.class
318+
$(MKDIR) -p $(@D)
319+
$(TOOL_REMOVEMETHODS) '$<' $@ addPropertyChangeListener removePropertyChangeListener
320+
312321
CLASSES_TO_DEBEAN = \
313322
java/util/logging/LogManager.class \
314323
java/util/jar/Pack200\$$Packer.class \

0 commit comments

Comments
 (0)