Merge ~pushkarnk/ubuntu/+source/openjdk-lts:ubuntu/devel into ubuntu/+source/openjdk-lts:ubuntu/devel

Proposed by Pushkar Kulkarni
Status: Work in progress
Proposed branch: ~pushkarnk/ubuntu/+source/openjdk-lts:ubuntu/devel
Merge into: ubuntu/+source/openjdk-lts:ubuntu/devel
Prerequisite: ~pushkarnk/ubuntu/+source/openjdk-lts:prereq1
Diff against target: 133 lines (+51/-5)
5 files modified
debian/changelog (+22/-0)
debian/rules (+12/-3)
debian/tests/jtreg-autopkgtest.in (+7/-1)
debian/tests/jtreg-autopkgtest.sh (+7/-1)
debian/tests/problems.csv (+3/-0)
Reviewer Review Type Date Requested Status
git-ubuntu import Pending
Review via email: mp+484607@code.launchpad.net
To post a comment you must log in.
6f03b36... by Pushkar Kulkarni

d/rules: point --with-jtreg to /usr/share/jtreg

5431409... by Pushkar Kulkarni

d/rules: Disable dtrace on jammy armhf

83a3323... by Pushkar Kulkarni

Disable tests failing due to upstream bugs

6c121ae... by Pushkar Kulkarni

Honour DEB_BUILD_OPTIONS=parallel=N while running jtreg tests

32f020c... by Pushkar Kulkarni

New upstream version 11.0.27+6

7fbc7ea... by Pushkar Kulkarni

Update upstream source from tag 'upstream/11.0.27+6'

Update to upstream version '11.0.27+6'
with Debian dir 17efdee0f4e61a15fea7c624c07faf09c4895613

c412370... by Pushkar Kulkarni

d/rules: update git_tag

0155f5f... by Pushkar Kulkarni

update changelog

Unmerged commits

0155f5f... by Pushkar Kulkarni

update changelog

c412370... by Pushkar Kulkarni

d/rules: update git_tag

7fbc7ea... by Pushkar Kulkarni

Update upstream source from tag 'upstream/11.0.27+6'

Update to upstream version '11.0.27+6'
with Debian dir 17efdee0f4e61a15fea7c624c07faf09c4895613

32f020c... by Pushkar Kulkarni

New upstream version 11.0.27+6

6c121ae... by Pushkar Kulkarni

Honour DEB_BUILD_OPTIONS=parallel=N while running jtreg tests

83a3323... by Pushkar Kulkarni

Disable tests failing due to upstream bugs

5431409... by Pushkar Kulkarni

d/rules: Disable dtrace on jammy armhf

6f03b36... by Pushkar Kulkarni

d/rules: point --with-jtreg to /usr/share/jtreg

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 855ab64..674fd72 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,25 @@
6+openjdk-lts (11.0.27+6~us1-0ubuntu1) plucky; urgency=medium
7+
8+ * OpenJDK 11.0.27 release, build 6. Release notes:
9+ https://mail.openjdk.org/pipermail/jdk-updates-dev/2025-April/043306.html
10+
11+ - CVEs:
12+ + CVE-2025-21587
13+ + CVE-2025-30691
14+ + CVE-2025-30698
15+
16+ [ Vladimir Petko ]
17+ * d/rules: point --with-jtreg to /usr/share/jtreg
18+ * d/rules: Disable dtrace on jammy armhf (was not enabled before and cannot
19+ be built due to a GCC ICE (see LP #2091225)
20+ * d/t/problems.csv: Disable tests failing due to upstream bugs.
21+
22+ [ Matthias Klose ]
23+ * Honour DEB_BUILD_OPTIONS=parallel=N while running jtreg tests (Helmut
24+ Grohne). Addresses: #1095920
25+
26+ -- Pushkar Kulkarni <pushkar.kulkarni@canonical.com> Thu, 17 Apr 2025 14:10:13 +0530
27+
28 openjdk-lts (11.0.26+4-1ubuntu1) plucky; urgency=medium
29
30 * OpenJDK 11.0.26 release, build 4. Release notes:
31diff --git a/debian/rules b/debian/rules
32index 14d1b24..743aadc 100755
33--- a/debian/rules
34+++ b/debian/rules
35@@ -415,7 +415,16 @@ no_dtrace_archs = powerpc ppc64 ppc64el sh4 s390x
36 # PPC*, S390x and SH do not support dtrace probes
37 # https://github.com/openjdk/jdk/pull/13228
38 ifeq (,$(filter $(DEB_HOST_ARCH),$(no_dtrace_archs)))
39- COMMON_CONFIGURE_ARGS += --enable-dtrace
40+ # disable dtrace due to GCC ICE in jammy: https://launchpad.net/bugs/2091225
41+ ifneq (,$(filter $(DEB_HOST_ARCH),armhf))
42+ ifneq (,$(filter $(distrel),jammy))
43+ COMMON_CONFIGURE_ARGS += --disable-dtrace
44+ else
45+ COMMON_CONFIGURE_ARGS += --enable-dtrace
46+ endif
47+ else
48+ COMMON_CONFIGURE_ARGS += --enable-dtrace
49+ endif
50 endif
51
52 # FIXME: --with-jvm-variants=server,zero not supported upstream
53@@ -451,7 +460,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), ppc64 ppc64el))
54 endif
55
56 ifeq ($(with_check),yes)
57- ifneq (,$(filter $(distrel), precise trusty xenial bionic eoan etch wheezy jessie stretch buster))
58+ ifneq (,$(filter $(distrel), precise trusty xenial eoan etch wheezy jessie stretch buster))
59 COMMON_CONFIGURE_ARGS += --with-jtreg=/usr
60 else
61 COMMON_CONFIGURE_ARGS += --with-jtreg=/usr/share/jtreg
62@@ -1957,7 +1966,7 @@ endif
63 dh_builddeb -a $(nodemo) $(nojrez) #$(bd_options)
64
65 git_project = jdk11u
66-git_tag = jdk-11.0.26+4
67+git_tag = jdk-11.0.27+6
68 package_version = $(subst jdk-,,$(git_tag))
69 package_version = $(shell echo $(PKGVERSION) | sed 's/-[^-][^-]*$$//')
70 ifneq ($(is_upstream_release),yes)
71diff --git a/debian/tests/jtreg-autopkgtest.in b/debian/tests/jtreg-autopkgtest.in
72index 610c517..877fc52 100755
73--- a/debian/tests/jtreg-autopkgtest.in
74+++ b/debian/tests/jtreg-autopkgtest.in
75@@ -30,7 +30,13 @@ if [[ "armel" == *"${host_arch}"* ]]; then
76 jt_options+=" -Xmx256M"
77 fi
78 if dpkg --compare-versions ${jtreg_version} ge 4.2; then
79- jt_options+=" -conc:auto"
80+ njobs=auto
81+ for opt in ${DEB_BUILD_OPTIONS:-}; do
82+ if test "${opt#parallel=}" != "$opt"; then
83+ njobs="${opt#parallel=}"
84+ fi
85+ done
86+ jt_options+=" -conc:$njobs"
87 fi
88
89 # check java binary
90diff --git a/debian/tests/jtreg-autopkgtest.sh b/debian/tests/jtreg-autopkgtest.sh
91index 30cefa2..f5affb4 100755
92--- a/debian/tests/jtreg-autopkgtest.sh
93+++ b/debian/tests/jtreg-autopkgtest.sh
94@@ -30,7 +30,13 @@ if [[ "armel" == *"${host_arch}"* ]]; then
95 jt_options+=" -Xmx256M"
96 fi
97 if dpkg --compare-versions ${jtreg_version} ge 4.2; then
98- jt_options+=" -conc:auto"
99+ njobs=auto
100+ for opt in ${DEB_BUILD_OPTIONS:-}; do
101+ if test "${opt#parallel=}" != "$opt"; then
102+ njobs="${opt#parallel=}"
103+ fi
104+ done
105+ jt_options+=" -conc:$njobs"
106 fi
107
108 # check java binary
109diff --git a/debian/tests/problems.csv b/debian/tests/problems.csv
110index a748a7f..b9bd2f7 100644
111--- a/debian/tests/problems.csv
112+++ b/debian/tests/problems.csv
113@@ -33,6 +33,7 @@ FAILED: java/nio/file/Files/InterruptCopy.java,JDK-8166162,Container issue,:open
114 FAILED: java/nio/file/Files/Misc.java,JDK-8166162,Container issue,:openjdk-lts:openjdk-11::openjdk-17:openjdk-21:openjdk-22:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all
115 FAILED: java/nio/file/Files/TemporaryFiles.java,JDK-8166162,Container issue,:openjdk-lts:openjdk-11::openjdk-17:openjdk-21:openjdk-22:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all
116 FAILED: java/nio/file/FileStore/Basic.java,JDK-8166162,Container issue,:openjdk-lts:openjdk-11::openjdk-17:openjdk-21:openjdk-22:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all
117+FAILED: com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java,JDK-8166162,Container issue,:openjdk-lts:openjdk-11::openjdk-17:openjdk-21:openjdk-22:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all
118 FAILED: runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java,,flaky test (?) existing comment,:openjdk-17,:arch-all,:release-all
119 FAILED: runtime/cds/appcds/jcmd/JCmdTestFileSafety.java,,flaky test (?) existing comment,:openjdk-17,i386:arm64:amd64:ppc64el,:release-all
120 FAILED: runtime/cds/appcds/jcmd/JCmdTestStaticDump.java,,flaky test (?) existing comment,:openjdk-17,:arch-all,:release-all
121@@ -74,6 +75,7 @@ FAILED: java/foreign/TestDowncallStack.java,, asserts due to the invalid structu
122 FAILED: java/foreign/TestDowncallScope.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
123 FAILED: java/foreign/TestSegments.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
124 FAILED: java/foreign/TestLinker.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
125+FAILED: java/foreign/nested/TestNested.java,CODETOOLS-7903948, test is compiled without --enable-preview flag,:openjdk-21,:arch-all,:release-all
126 FAILED: java/foreign/TestAddressDereference.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
127 FAILED: java/foreign/TestUpcallHighArity.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
128 FAILED: java/foreign/TestUpcallStructScope.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
129@@ -84,3 +86,4 @@ FAILED: java/foreign/TestVarArgs.java,, asserts due to the invalid structure siz
130 FAILED: runtime/os/TestTrimNative.java#trimNative,, java.lang.RuntimeException: We found fewer (periodic) trim lines in UL log than expected (expected at least 13 found 11). This looks like a flaky test - it asserts number of lines from the periodic trimmer e.g. src/hotspot/share/runtime/trimNativeHeap.hpp:56 which causes the test to fail due to the slow VM. Test passes locally.,:openjdk-21,:armhf,:release-all
131 FAILED: jdk/sun/security/util/Debug/DebugOptions.java,JDK-8339713,Stack overflow error on 32-bit platforms,:openjdk-17:openjdk-21:openjdk-23:openjdk-24:openjdk-25:,:armhf:i386:s390x,:release-all
132 Error: jdk/jshell/TerminalNoExecTest.java,,BackingStoreException: Couldn't get file lock - possibly because the LP (non-root) container has no home directory,:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all
133+FAILED: applications/ctw/modules/jdk_jfr.java,JDK-8352567, Unimplemented SharedRuntime::generate_jfr_write_checkpoint for S390x, :openjdk-25:,:s390x,:release-all

Subscribers

People subscribed via source and target branches