applying patches doesn't seem to work
alan yung
yung2.alan at gmail.com
Wed Sep 30 00:55:01 PDT 2009
Actually, I didn't apply the patches correctly.
Now when I tried to apply the patches, it shows many error messages, but it
did apply (at least) some patches successfully.
My question is, do the patches apply successfully in current head revision?
Thanks,
alan
On Tue, Sep 29, 2009 at 2:31 AM, alan yung <yung2.alan at gmail.com> wrote:
> This is the step I followed, and the output I got.
>
> $ bash patches/make/link-patch-dirs.sh sources patches
> + ln -s ../../../patches/hotspot sources/hotspot/.hg/patches
> + ln -s ../../../patches/jdk sources/jdk/.hg/patches
> + ln -s ../../../patches/langtools sources/langtools/.hg/patches
>
> $ ls -il patches/hotspot/series sources/hotspot/.hg/patches/series
> 9570149208790991 -rw-r--r-- 1 alan None 1220 Sep 29 01:51
> patches/hotspot/series
> 9570149208790991 -rw-r--r-- 1 alan None 1220 Sep 29 01:51
> sources/hotspot/.hg/patches/series
>
> $ export davinci=$(pwd) guards="buildable testable"
>
> $ sh patches/make/each-patch-repo.sh hg qselect --reapply $guards \
> > '$(sh $davinci/patches/make/current-release.sh)'
> + (cd sources/hotspot; hg qselect --reapply buildable testable $(sh
> $davinci/patches/make/current-release.sh))
> + (cd sources/jdk; hg qselect --reapply buildable testable $(sh
> $davinci/patches/make/current-release.sh))
> + (cd sources/langtools; hg qselect --reapply buildable testable $(sh
> $davinci/patches/make/current-release.sh))
>
> I don't see any other output, so I assumed it was successfully applied, but
> maybe not.
> If it is version issue (jdk7-b72), what is the right way to apply the
> patches? should I get older version of openjdk7?
>
> Thanks!
>
> alan
>
>
> On Tue, Sep 29, 2009 at 1:24 AM, Christian Thalinger <
> Christian.Thalinger at sun.com> wrote:
>
>> alan yung wrote:
>> > Hi,
>> >
>> > I'm trying to apply the mlvm patches to openjdk7 on windows XP. The
>> > openjdk7 build actually works, and I got the jdk image, but the problem
>> > is, the patch doesn't seem to be applied.
>> >
>> > I followed the instruction here:
>> > http://wikis.sun.com/display/mlvm/Building , but the problem is, even
>> > after applying the patch (and it seems to be successful),
>> > the whole patches dont seem to be applied. For instance, jdk/indy.patch
>> > doesn't seem to be applied since I don't see insertArguments method in
>> > /jdk/src/share/classes/java/dyn/MethodHandles.java
>> >
>> > Is there any gotchas that I'm missing?
>>
>> One problem could be that the bsd-port repository got updated to
>> jdk7-b72 and maybe the patches don't apply cleanly anymore. Are you
>> sure that the patches applied successful? Can you post the output?
>>
>> -- Christian
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090930/40929585/attachment.html
More information about the mlvm-dev
mailing list