RFR: JDK-8035134: JDK9 unix debug bundle manifest file list issue

Erik Joelsson erik.joelsson at oracle.com
Thu Apr 3 08:08:51 UTC 2014


Hello,

Please review this small fix, correcting the contents of the zipped 
debuginfo files. They are currently adding the full absolute path name 
of the debuginfo files to the zip instead of just the filename.


Bug: https://bugs.openjdk.java.net/browse/JDK-8035134
Patch inline:
diff -r 54dd5b81ed46 make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk
+++ b/make/common/NativeCompilation.gmk
@@ -482,7 +482,7 @@
              # to be rebuilt properly.
              $$($1_DEBUGINFO_ZIP): $$($1_DEBUGINFO_FILES) $$($1_TARGET)
          $(CD) $$($1_OBJECT_DIR) \
-        && $(ZIP) -q $$@ $$($1_DEBUGINFO_FILES)
+        && $(ZIP) -q $$@ $$(notdir $$($1_DEBUGINFO_FILES))

            else
              $1 += $$(subst 
$$($1_OBJECT_DIR),$$($1_OUTPUT_DIR),$$($1_DEBUGINFO_FILES))


/Erik



More information about the build-dev mailing list