My next, and last problem with building on my cygwin
Erik Joelsson
erik.joelsson at oracle.com
Tue Oct 2 05:51:51 PDT 2012
This is an interesting observation. Hasn't happened to me but I will
apply your patch.
/Erik
On 2012-09-29 02:40, Jim Holmlund wrote:
> The jdk CreateJars.gmk file creates a file named _the.jars.contents
> which contains, well you guessed it, a list of all the contents of a
> jar file.
>
> It then greps for .class files in this list. The problem is that on
> my machine, the lines in _the.jars.contents end with that stupid ^M
> char. This prevents the greps from finding any .class files.
>
> I don't know the best fix for this. I made this change and now I can
> build thru images successfully:
>
>> diff -r d94613ac03d8 makefiles/CreateJars.gmk
>> --- a/makefiles/CreateJars.gmk Wed Sep 26 22:22:51 2012 -0700
>> +++ b/makefiles/CreateJars.gmk Fri Sep 28 17:33:09 2012 -0700
>> @@ -305,7 +305,7 @@
>> ($(CD) $(JDK_OUTPUTDIR)/classes && \
>> $(TOOL_JARREORDER) \
>> -o $@.tmp $(JDK_OUTPUTDIR)/lib/classlist
>> $(JDK_OUTPUTDIR)/lib/_the.jars.exclude . )
>> - $(MV) $@.tmp $@
>> + $(SED) -e 's@\
>> *$$@@' $@.tmp > $@
>>
>> $(JDK_OUTPUTDIR)/lib/_the.rt.jar.contents:
>> $(JDK_OUTPUTDIR)/lib/_the.jars.contents
>> $(MKDIR) -p $(@D)
> - jjh
>
More information about the build-infra-dev
mailing list