Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package java-17-openj9 for openSUSE:Factory 
checked in at 2022-08-16 17:07:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-17-openj9 (Old)
 and      /work/SRC/openSUSE:Factory/.java-17-openj9.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java-17-openj9"

Tue Aug 16 17:07:44 2022 rev:2 rq:995943 version:17.0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/java-17-openj9/java-17-openj9.changes    
2022-07-13 13:45:14.602019485 +0200
+++ /work/SRC/openSUSE:Factory/.java-17-openj9.new.1521/java-17-openj9.changes  
2022-08-16 17:07:48.091888475 +0200
@@ -1,0 +2,17 @@
+Tue Aug 16 06:55:36 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Update to OpenJDK 17.0.4 with OpenJ9 0.33.0 virtual machine
+  * Including Oracle July 2022 CPU changes
+    CVE-2022-21540 (bsc#1201694), CVE-2022-21541 (bsc#1201692),
+    CVE-2022-21549 (bsc#1201685), CVE-2022-34169 (bsc#1201684)
+  * OpenJ9 changes, see
+    https://www.eclipse.org/openj9/docs/version0.33
+- Modified template patch:
+  * openj9-nogit.patch.in
+    + The git commit hash code became more generic, so redo the
+      template patch
+- Added patch:
+  * openj9-no-narrowing.patch
+    + Fix narrowing conversion error
+
+-------------------------------------------------------------------

Old:
----
  9a84ec34ed321967cdbe67b29ddcd732b591d051.zip
  ab24b6666596140516d3f240486aa1c84a726775.zip
  dc07fd49b926c28c33b17053b11ad3121429239f.zip
  freemarker-2.3.29-sources.jar
  freemarker-2.3.29.jar

New:
----
  04a55b45b3a0d75813335fda0fb8703819690ee7.zip
  b58aa2708c095efadf522f67aaef9f7de2a7cbc7.zip
  d680e266ef43d1c2e239c7d2fd49e6f9a11992ed.zip
  openj9-no-narrowing.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ java-17-openj9.spec ++++++
--- /var/tmp/diff_new_pack.LDptPw/_old  2022-08-16 17:07:51.251897924 +0200
+++ /var/tmp/diff_new_pack.LDptPw/_new  2022-08-16 17:07:51.259897948 +0200
@@ -29,20 +29,19 @@
 # Standard JPackage naming and versioning defines.
 %global featurever      17
 %global interimver      0
-%global updatever       3
-%global datever         2022-04-19
-%global buildver        7
+%global updatever       4
+%global datever         2022-07-19
+%global buildver        8
 %global root_repository 
https://github.com/ibmruntimes/openj9-openjdk-jdk17/archive
-%global root_revision   dc07fd49b926c28c33b17053b11ad3121429239f
-%global root_branch     v0.32.0-release
+%global root_revision   d680e266ef43d1c2e239c7d2fd49e6f9a11992ed
+%global root_branch     v0.33.0-release
 %global omr_repository  https://github.com/eclipse/openj9-omr/archive
-%global omr_revision    ab24b6666596140516d3f240486aa1c84a726775
-%global omr_branch      v0.32.0-release
+%global omr_revision    b58aa2708c095efadf522f67aaef9f7de2a7cbc7
+%global omr_branch      v0.33.0-release
 %global openj9_repository https://github.com/eclipse/openj9/archive
-%global openj9_revision 9a84ec34ed321967cdbe67b29ddcd732b591d051
-%global openj9_branch   v0.32.0-release
-%global openj9_tag      openj9-0.32.0
-%global freemarker_version 2.3.29
+%global openj9_revision 04a55b45b3a0d75813335fda0fb8703819690ee7
+%global openj9_branch   v0.33.0-release
+%global openj9_tag      openj9-0.33.0
 %global java_atk_wrapper_version 0.33.2
 # priority must be 6 digits in total
 %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap}
@@ -97,11 +96,6 @@
 Source0:        %{root_repository}/%{root_revision}.zip
 Source1:        %{omr_repository}/%{omr_revision}.zip
 Source2:        %{openj9_repository}/%{openj9_revision}.zip
-# Use the freemarker jar from maven central
-Source3:        
https://repo1.maven.org/maven2/org/freemarker/freemarker/%{freemarker_version}/freemarker-%{freemarker_version}.jar
-# Package also the sources
-Source4:        
https://repo1.maven.org/maven2/org/freemarker/freemarker/%{freemarker_version}/freemarker-%{freemarker_version}-sources.jar
-# Accessibility support
 Source8:        
https://download.gnome.org/sources/java-atk-wrapper/0.33/java-atk-wrapper-%{java_atk_wrapper_version}.tar.xz
 # Desktop files. Adapted from IcedTea.
 Source11:       jconsole.desktop.in
@@ -119,6 +113,8 @@
 Patch4:         libdwarf-fix.patch
 # Allow multiple initialization of PKCS11 libraries
 Patch5:         multiple-pkcs11-library-init.patch
+# Fix narrowing conversion error
+Patch6:         openj9-no-narrowing.patch
 # Fix: implicit-pointer-decl
 Patch13:        implicit-pointer-decl.patch
 #
@@ -397,6 +393,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 %patch13 -p1
 
 %if %{with_system_pcsc}
@@ -420,6 +417,7 @@
     | sed "s/@OPENJ9_TAG@/%{openj9_tag}/g" \
     | sed "s/@OPENJ9OMR_SHA@/%{omr_revision}/g" \
     | sed "s/@OPENJDK_SHA@/%{root_revision}/g" \
+    | sed "s/@OPENSSL_SHA@//g" \
     | patch -p1 -u -l
 
 # Prepare desktop files
@@ -476,8 +474,7 @@
     --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \
     --with-extra-cflags="$EXTRA_CFLAGS" \
     --disable-javac-server \
-    --enable-demos \
-    --with-freemarker-jar=%{SOURCE3}
+    --enable-demos
 
 make \
     LOG=trace \
@@ -827,6 +824,9 @@
 %{_jvmprivdir}/*
 
 %{_jvmdir}/%{sdkdir}/bin/java
+%ifnarch aarch64
+%{_jvmdir}/%{sdkdir}/bin/jitserver
+%endif
 %{_jvmdir}/%{sdkdir}/bin/keytool
 %{_jvmdir}/%{sdkdir}/bin/rmiregistry
 %{_jvmdir}/%{sdkdir}/conf/logging.properties
@@ -837,6 +837,9 @@
 %{_jvmdir}/%{sdkdir}/conf/sdp/sdp.conf.template
 %{_jvmdir}/%{sdkdir}/conf/security/java.policy
 %{_jvmdir}/%{sdkdir}/conf/security/java.security
+%ifarch x86_64
+%{_jvmdir}/%{sdkdir}/conf/security/nss.fips.cfg
+%endif
 %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/default_local.policy
 %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/default_US_export.policy
 %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/exempt_local.policy

++++++ openj9-no-narrowing.patch ++++++
--- a/openj9/runtime/compiler/env/j9methodServer.cpp
+++ b/openj9/runtime/compiler/env/j9methodServer.cpp
@@ -2634,7 +2634,7 @@ 
TR_ResolvedRelocatableJ9JITServerMethod::validateMethodFieldAttributes(const TR_
    return equal;
    }
 
-TR_J9ServerMethod::TR_J9ServerMethod(TR_FrontEnd * fe, TR_Memory * trMemory, 
J9Class * aClazz, uintptr_t cpIndex)
+TR_J9ServerMethod::TR_J9ServerMethod(TR_FrontEnd * fe, TR_Memory * trMemory, 
J9Class * aClazz, int32_t cpIndex)
    : TR_J9Method()
    {
    TR_ASSERT(cpIndex != -1, "cpIndex shouldn't be -1");
--- a/openj9/runtime/compiler/env/j9methodServer.hpp
+++ b/openj9/runtime/compiler/env/j9methodServer.hpp
@@ -326,6 +326,6 @@ protected:
 class TR_J9ServerMethod : public TR_J9Method
    {
 public:
-   TR_J9ServerMethod(TR_FrontEnd *trvm, TR_Memory *, J9Class * aClazz, 
uintptr_t cpIndex);
+   TR_J9ServerMethod(TR_FrontEnd *trvm, TR_Memory *, J9Class * aClazz, int32_t 
cpIndex);
    };
 #endif // J9METHODSERVER_H

++++++ openj9-nogit.patch.in ++++++
--- /var/tmp/diff_new_pack.LDptPw/_old  2022-08-16 17:07:51.415898415 +0200
+++ /var/tmp/diff_new_pack.LDptPw/_new  2022-08-16 17:07:51.419898427 +0200
@@ -1,43 +1,43 @@
-diff --git a/closed/OpenJ9.gmk b/closed/OpenJ9.gmk
-index 8b7990a0cb..8559b989a0 100644
 --- a/closed/OpenJ9.gmk
 +++ b/closed/OpenJ9.gmk
-@@ -32,20 +32,20 @@ ifeq (,$(BUILD_ID))
-   BUILD_ID := 000000
- endif
+@@ -40,11 +40,11 @@ VersionPairs :=
+ # ----------
+ # $1 - repository display name
+ # $2 - variable name
+-# $3 - root directory of git repository
++# $3 - variable value
+ # $4 - 'required' for a required repository, anything else for an optional one
+ GetVersion = $(eval $(call GetVersionHelper,$(strip $1),$(strip $2),$(strip 
$3),$(strip $4)))
+ define GetVersionHelper
+-  $2 := $$(if $(wildcard $3),$$(shell $(GIT) -C $3 rev-parse --short HEAD))
++  $2 := $3
+   ifneq (,$$($2))
+     VersionLabelWidth := $(shell $(ECHO) "$1" | $(AWK) "{ width = length; 
print (width > $(VersionLabelWidth) ? width : $(VersionLabelWidth)) }")
+     VersionPairs += "$1" "$$($2)"
+@@ -60,17 +60,17 @@ define ShowVersions
+       @$(PRINTF) "    %-$(VersionLabelWidth)s - %s\n" $(VersionPairs)
+ endef # ShowVersions
  
--OPENJDK_SHA := $(shell $(GIT) -C $(TOPDIR) rev-parse --short HEAD)
-+OPENJDK_SHA := @OPENJDK_SHA@
- ifeq (,$(OPENJDK_SHA))
-   $(error Could not determine OpenJDK SHA)
- endif
- 
--OPENJ9_SHA := $(shell $(GIT) -C $(OPENJ9_TOPDIR) rev-parse --short HEAD)
-+OPENJ9_SHA := @OPENJ9_SHA@
- ifeq (,$(OPENJ9_SHA))
-   $(error Could not determine OpenJ9 SHA)
- endif
+-$(call GetVersion, openjdk,  OPENJDK_SHA,   $(TOPDIR),           required)
+-$(call GetVersion, openj9,   OPENJ9_SHA,    $(OPENJ9_TOPDIR),    required)
+-$(call GetVersion, omr,      OPENJ9OMR_SHA, $(OPENJ9OMR_TOPDIR), required)
+-$(call GetVersion, openssl,  OPENSSL_SHA,   $(OPENSSL_DIR))
++$(call GetVersion, openjdk,  OPENJDK_SHA,   @OPENJDK_SHA@,  required)
++$(call GetVersion, openj9,   OPENJ9_SHA,    @OPENJ9_SHA@,   required)
++$(call GetVersion, omr,      OPENJ9OMR_SHA, @OPENJ9OMR_SHA@, required)
++$(call GetVersion, openssl,  OPENSSL_SHA,   @OPENSSL_SHA@ )
  
  # Find OpenJ9 tag associated with current commit (suppressing stderr in case 
there is no such tag).
 -OPENJ9_TAG := $(shell $(GIT) -C $(OPENJ9_TOPDIR) describe --exact-match HEAD 
2>/dev/null)
 +OPENJ9_TAG := @OPENJ9_TAG@
- ifeq (,$(OPENJ9_TAG))
+ ifneq (,$(OPENJ9_TAG))
+   OPENJ9_VERSION_STRING := $(OPENJ9_TAG)
+ else
 -  OPENJ9_BRANCH := $(shell $(GIT) -C $(OPENJ9_TOPDIR) rev-parse --abbrev-ref 
HEAD)
 +  OPENJ9_BRANCH := @OPENJ9_BRANCH@
    ifeq (,$(OPENJ9_BRANCH))
      $(error Could not determine OpenJ9 branch)
    endif
-@@ -54,7 +54,7 @@ else
-   OPENJ9_VERSION_STRING := $(OPENJ9_TAG)
- endif
- 
--OPENJ9OMR_SHA := $(shell $(GIT) -C $(OPENJ9OMR_TOPDIR) rev-parse --short HEAD)
-+OPENJ9OMR_SHA := @OPENJ9OMR_SHA@
- ifeq (,$(OPENJ9OMR_SHA))
-   $(error Could not determine OMR SHA)
- endif
-diff --git a/closed/custom/ReleaseFile.gmk b/closed/custom/ReleaseFile.gmk
-index 8512c7702f..767b199992 100644
 --- a/closed/custom/ReleaseFile.gmk
 +++ b/closed/custom/ReleaseFile.gmk
 @@ -18,6 +18,6 @@

Reply via email to