[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987658: unblock: openjdk-11-jre-dcevm/11.0.11+9-1



On 15/05/2021 07:51, Paul Gevers wrote:

> Are commits f8bc235 and 10263b1 the head of the OpenJDK archive?

Yes, but these commits refer to the AdoptOpenJDK Git mirror [1] of the
upstream Mercurial repository [2]. src:openjdk-11 pulls directly from
Mercurial but the source tree is identical.


> Does OpenJDK in Debian carry any patches you want to have too?

Yes, DCEVM picks a patch from openjdk-11 to support multi arch libraries
[3]. The other patches are not relevant to DCEVM.


> I start to realize that src:openjdk-11 is probably more than the source
> of src:openjdk-11-jre-dcevm, as I *assume* that the source of the latter
> is only a *subset* of the source of the former. What would we need to do
> to compare those sources? Can you indeed confirm that the delta between
> both sources is exactly the patch set?

The source is the same, but DCEVM builds only the HotSpot VM, not the
Java standard library nor the developer tools. DCEVM just swaps the JVM
at runtime, everything else is provided by openjdk-11, that's why the
two packages are tightly coupled.

I can confirm that the delta between both sources is exactly the patch set.


> Those ranges are all off-by-one. The first commit should be the one you
> want to compare against, not the first one you want to have in the diff.

You are right sorry, I meant the commit ranges as inclusive but that's
not how "git diff" works. The 10 new commits actually change +222/-17
lines [4].

Emmanuel Bourg


[1] https://github.com/AdoptOpenJDK/openjdk-jdk11u/commits/10263b1
[2]
https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/shortlog/jdk-11.0.11-ga
[3]
https://salsa.debian.org/java-team/openjdk-11-jre-dcevm/-/blob/master/debian/patches/hotspot-libpath.diff
[4]
https://github.com/HotswapProjects/openjdk-jdk11u-dcevm/compare/7e0e338^..28b9ff6


Reply to: