8207804: (bf) Consider removing blank lines from generated Buffer sources

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jul 19 20:17:09 UTC 2018


https://bugs.openjdk.java.net/browse/JDK-8207804

Diff included below. Please refer also to the comments in the issue.

Thanks to Martin B. for the patch.

Brian

--- a/make/gensrc/GensrcBuffer.gmk
+++ b/make/gensrc/GensrcBuffer.gmk
@@ -162,6 +162,7 @@
   $1_nbytes := $5
   $1_nbytesButOne := $6
   $1_CMD := $(TOOL_SPP) \
+    -nel \
     -Dtype=$$($1_type) \
     -DType=$$($1_Type) \
     -Dfulltype=$$($1_fulltype) \
@@ -231,6 +232,7 @@
 
   $$($1_DST): $$($1_DEP) $(GENSRC_BUFFER_DST)/_the.buffer.dir
 	$(TOOL_SPP) < $$($1_SRC) > $$($1_OUT).tmp \
+	    -nel \
 	    -K$$($1_type) \
 	    -K$$($1_category) \
 	    -K$$($1_streams) \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180719/093ec5f9/attachment.html>


More information about the nio-dev mailing list