Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package java-17-openjdk for openSUSE:Factory 
checked in at 2022-04-23 00:24:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-17-openjdk (Old)
 and      /work/SRC/openSUSE:Factory/.java-17-openjdk.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java-17-openjdk"

Sat Apr 23 00:24:50 2022 rev:11 rq:971165 version:17.0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/java-17-openjdk/java-17-openjdk.changes  
2022-03-25 21:55:33.954329173 +0100
+++ 
/work/SRC/openSUSE:Factory/.java-17-openjdk.new.1538/java-17-openjdk.changes    
    2022-04-23 00:24:52.407737383 +0200
@@ -1,0 +2,338 @@
+Wed Apr 20 13:50:24 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Update to upstream tag jdk-17.0.3+7 (April 2022 CPU)
+  * Security fixes:
+    + JDK-8284920: Incorrect Token type causes XPath expression to
+      return empty result
+    + JDK-8284548: Invalid XPath expression causes
+      StringIndexOutOfBoundsException
+    + JDK-8281388: Change wrapping of EncryptedPrivateKeyInfo
+    + JDK-8282397: createTempFile method of java.io.File is failing
+      when called with suffix of spaces character
+    + JDK-8278356: Improve file creation
+    + JDK-8270504, bsc#1198672, CVE-2022-21426: Better Xpath
+      expression handling
+    + JDK-8272588: Enhanced recording parsing
+    + JDK-8272594: Better record of recordings
+    + JDK-8277672, bsc#1198674, CVE-2022-21434: Better invocation
+      handler handling
+    + JDK-8282300: Throws NamingException instead of
+      InvalidNameException after JDK-8278972
+    + JDK-8278972, bsc#1198673, CVE-2022-21496: Improve URL supports
+    + JDK-8272261: Improve JFR recording file processing
+    + JDK-8269938: Enhance XML processing passes redux
+    + JDK-8272255: Completely handle MIDI files
+    + JDK-8278805: Enhance BMP image loading
+    + JDK-8278449: Improve keychain support
+    + JDK-8277227: Better identification of OIDs
+    + JDK-8275151, bsc#1198675, CVE-2022-21443: Improved Object
+      Identification
+    + JDK-8274221: More definite BER encodings
+    + JDK-8277233, bsc#1198670, CVE-2022-21449: Improve ECDSA
+      signature support
+    + JDK-8278798: Improve supported intrinsic
+  * Other changes:
+    + JDK-8282761: XPathFactoryImpl remove setProperty and
+      getProperty methods
+    + JDK-8277795: ldap connection timeout not honoured under
+      contention
+    + JDK-8276141: XPathFactory set/getProperty method
+    + JDK-8274471: Add support for RSASSA-PSS in OCSP Response
+    + JDK-8282219: jdk/java/lang/ProcessBuilder/Basic.java fails on
+      AIX
+    + JDK-8279669: test/jdk/com/sun/jdi/TestScaffold.java uses
+      wrong condition
+    + JDK-8276841: Add support for Visual Studio 2022
+    + JDK-8272866: java.util.random package summary contains
+      incorrect mixing function in table
+    + JDK-8272996: JNDI DNS provider fails to resolve SRV entries
+      when IPV6 stack is enabled
+    + JDK-8278185: Custom JRE cannot find non-ASCII named module
+      inside
+    + JDK-8281460: Let ObjectMonitor have its own NMT category
+    + JDK-8278163: --with-cacerts-src variable resolved after
+      GenerateCacerts recipe setup
+    + JDK-8277383: VM.metaspace optionally show chunk freelist
+      details
+    + JDK-8271721: Split gc/g1/TestMixedGCLiveThreshold into
+      separate tests
+    + JDK-8277488: Add expiry exception for Digicert
+      (geotrustglobalca) expiring in May 2022
+    + JDK-8270117: Broken jtreg link in "Building the JDK" page
+    + JDK-8279695: [TESTBUG] modify compiler/loopopts/
+      /TestSkeletonPredicateNegation.java to run on C1 also
+    + JDK-8278080: Add --with-cacerts-src='user cacerts folder' to
+      enable deterministic cacerts generation
+    + JDK-8277762: Allow configuration of HOTSPOT_BUILD_USER
+    + JDK-8274524: SSLSocket.close() hangs if it is called during
+      the ssl handshake
+    + JDK-8278346: java/nio/file/Files/probeContentType/Basic.java
+      fails on Linux SLES15 machine
+    + JDK-8274171: java/nio/file/Files/probeContentType/Basic.java
+      failed on "Content type" mismatches
+    + JDK-8274562: (fs) UserDefinedFileAttributeView doesn't
+      correctly determine if supported when using OverlayFS
+    + JDK-8273655: content-types.properties files are missing some
+      common types
+    + JDK-8279385: [test]  Adjust sun/security/pkcs12/
+      /KeytoolOpensslInteropTest.java after 8278344
+    + JDK-8280373: Update Xalan serializer / SystemIDResolver to
+      align with JDK-8270492
+    + JDK-8272541: Incorrect overflow test in Toom-Cook branch of
+      BigInteger multiplication
+    + JDK-8278951: containers/cgroup/PlainRead.java fails on Ubuntu
+      21.10
+    + JDK-8272600: (test) Use native "sleep" in Basic.java
+    + JDK-8271199: Mutual TLS handshake fails signing client
+      certificate with custom sensitive PKCS11 key
+    + JDK-8277299: STACK_OVERFLOW in
+      Java_sun_awt_shell_Win32ShellFolder2_getIconBits
+    + JDK-8281061: [s390] JFR runs into assertions while validating
+      interpreter frames
+    + JDK-8275330: C2:  assert(n->is_Root() || n->is_Region() ||
+      n->is_Phi() || n->is_MachMerge() ||
+      def_block->dominates(block)) failed: uses must be dominated by
+      definitions
+    + JDK-8190748: java/text/Format/DateFormat/DateFormatTest.java
+      and NonGregorianFormatTest fail intermittently
+    + JDK-8274750: java/io/File/GetXSpace.java failed: '/dev':
+      191488 != 190976
+    + JDK-8273387: remove some unreferenced gtk-related functions
+    + JDK-8279702: [macosx] ignore xcodebuild warnings on M1
+    + JDK-8277180: Intrinsify recursive ObjectMonitor locking for
+      C2 x64 and A64
+    + JDK-8277449: compiler/vectorapi/TestLongVectorNeg.java fails
+      with release VMs
+    + JDK-8275643: C2's unaryOp vector intrinsic does not properly
+      handle LongVector.neg
+    + JDK-8271056: C2: "assert(no_dead_loop) failed: dead loop
+      detected" due to cmoving identity
+    + JDK-8275847: Scheduling fails with "too many D-U pinch
+      points" on small method
+    + JDK-8274944: AppCDS dump causes SEGV in VM thread while
+      adjusting lambda proxy class info
+    + JDK-8275874: [JVMCI] only support aligned reads in
+      c2v_readFieldValue
+    + JDK-8271506: Add ResourceHashtable support for deleting
+      selected entries
+    + JDK-8278381: [GCC 11] Address::make_raw() does not initialize
+      rspec
+    + JDK-8279124: VM does not handle SIGQUIT during initialization
+    + JDK-8277497: Last column cell in the JTable row is read as
+      empty cell
+    + JDK-8278604: SwingSet2 table demo does not have accessible
+      description set for images 8278526: [macos] Screen reader
+      reads SwingSet2 JTable row selection as null, dimmed row for
+      last column
+    + JDK-8275645: [JVMCI] avoid unaligned volatile reads on AArch64
+    + JDK-8280414: Memory leak in DefaultProxySelector
+    + JDK-8273381: Assert in
+      PtrQueueBufferAllocatorTest.stress_free_list_allocator_vm
+    + JDK-8269616: serviceability/dcmd/framework/VMVersionTest.java
+      fails with Address already in use error
+    + JDK-8280155: [PPC64, s390] frame size checks are not yet
+      correct
+    + JDK-8279924: [PPC64, s390] implement
+      frame::is_interpreted_frame_valid checks
+    + JDK-8280526: x86_32 Math.sqrt performance regression with
+      -XX:UseSSE={0,1}
+    + JDK-8279076: C2: Bad AD file when matching SqrtF with UseSSE=0
+    + JDK-8279445: Update JMH devkit to 1.34
+    + JDK-8274753: ZGC: SEGV in MetaspaceShared::link_shared_classes
+      8274935: dumptime_table has stale entry
+    + JDK-8251216: Implement MD5 intrinsics on AArch64
+    + JDK-8278241: Implement JVM SpinPause on linux-aarch64
+    + JDK-8275608: runtime/Metaspace/elastic/
+      /TestMetaspaceAllocationMT2 too slow
+    + JDK-8276057: Update JMH devkit to 1.33
+    + JDK-8275082, bsc#1198671, CVE-2022-21476: Update XML Security
+      for Java to 2.3.0
+    + JDK-8177814: jdk/editpad is not in jdk TEST.groups
+    + JDK-8253197: vmTestbase/nsk/jvmti/StopThread/stopthrd007/
+      /TestDescription.java fails with "ERROR:
+      DebuggeeSleepingThread: ThreadDeath lost"
+    + JDK-8236505: Mark jdk/editpad/EditPadTest.java as @headful
+    + JDK-8272553: several hotspot runtime/CommandLine tests don't
+      check exit code
+    + JDK-8275687: runtime/CommandLine/PrintTouchedMethods test
+      shouldn't catch RuntimeException
+    + JDK-8278344: sun/security/pkcs12/
+      /KeytoolOpensslInteropTest.java test fails because of
+      different openssl output
+    + JDK-8273972: Multi-core choke point in CMM engine
+      (LCMSTransform.doTransform)
+    + JDK-8273438: Enable parallelism in
+      vmTestbase/metaspace/stressHierarchy tests
+    + JDK-8278389: SuspendibleThreadSet::_suspend_all should be
+      volatile/atomic
+    + JDK-8273433: Enable parallelism in vmTestbase_nsk_sysdict
+      tests
+    + JDK-8277503: compiler/onSpinWait/
+      /TestOnSpinWaitAArch64DefaultFlags.java failed with
+      "OnSpinWaitInst with the expected value 'isb' not found."
+    + JDK-8277137: Set OnSpinWaitInst/OnSpinWaitInstCount defaults
+      to "isb"/1 for Arm Neoverse N1
+    + JDK-8273341: Update Siphash to version 1.0
+    + JDK-8269032: Stringdedup tests are failing if the
+      ergonomically select GC does not support it
+    + JDK-8186670: Implement _onSpinWait() intrinsic for AArch64
+    + JDK-8276766: Enable jar and jmod to produce deterministic
+      timestamped content 8279453: Disable tools/jar/
+      /ReproducibleJar.java on 32-bit platforms
+    + JDK-8279998: PPC64 debug builds fail with "untested:
+      RangeCheckStub: predicate_failed_trap_id"
+    + JDK-8280002: jmap -histo may leak stream
+    + JDK-8277069: [REDO] JDK-8276743 Make openjdk build Zip
+      Archive generation "reproducible"
+    + JDK-8279833: Loop optimization issue in
+      String.encodeUTF8_UTF16
+    + JDK-8273277: C2: Move conditional negation into rc_predicate
+    + JDK-8279412: [JVMCI] failed speculations list must outlive
+      any nmethod that refers to it
+    + JDK-8271202: C1: assert(false) failed: live_in set of first
+      block must be empty
+    + JDK-8263567: gtests don't terminate the VM safely
+    + JDK-8269206: A small typo in comment in
+      test/lib/sun/hotspot/WhiteBox.java
+    + JDK-8278309: [windows] use of uninitialized OSThread::_state
++++ 144 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/java-17-openjdk/java-17-openjdk.changes
++++ and 
/work/SRC/openSUSE:Factory/.java-17-openjdk.new.1538/java-17-openjdk.changes

Old:
----
  activation-JAF-1_2_0.tar.gz
  activation-module.patch
  annotation-module.patch
  javax.annotation-1.3.2.tar.gz
  javax.xml.soap-1.4.0.tar.gz
  jax-ws-spec-2.4.0.tar.gz
  jaxb-istack-commons-3.0.7-RELEASE.tar.gz
  jaxb-spec-2.4.0.tar.gz
  jaxb-v2-2.3.1.tar.gz
  jdk-17.0.2+8.tar.gz
  metro-fi-1.2.15-RELEASE.tar.gz
  metro-stax-ex-1.8.tar.gz

New:
----
  jdk-17.0.3+7.tar.gz

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

Other differences:
------------------
++++++ java-17-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.MxQDEl/_old  2022-04-23 00:24:54.927738726 +0200
+++ /var/tmp/diff_new_pack.MxQDEl/_new  2022-04-23 00:24:54.935738730 +0200
@@ -20,7 +20,7 @@
 %{!?arm6:%global arm6 armv3l armv4b armv4l armv4tl armv5b armv5l armv5teb 
armv5tel armv5tejl armv6l armv6hl}
 %global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm} s390x
 %global debug 0
-%global add_back_javaee_modules 0
+%global is_release 1
 %global buildoutputdir build
 # Convert an absolute path to a relative path.  Each symbolic link is
 # specified relative to the directory in which it is installed so that
@@ -32,33 +32,14 @@
 # Standard JPackage naming and versioning defines.
 %global featurever      17
 %global interimver      0
-%global updatever       2
-%global patchver        0
-%global datever         2022-01-18
-%global buildver        8
+%global updatever       3
+%global datever         2022-04-19
+%global buildver        7
 %global openjdk_repo    jdk17u
-%global openjdk_tag     
jdk-%{featurever}.%{interimver}.%{updatever}+%{buildver}
-%global openjdk_dir     
%{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}-%{buildver}
+%global openjdk_tag     
jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver}
+%global openjdk_dir     
%{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}-%{buildver}
 # JavaEE modules
 %global java_atk_wrapper_version 0.33.2
-%global java_activation_repository activation
-%global java_activation_tag JAF-1_2_0
-%global java_xml_bind_repository jaxb-spec
-%global java_xml_bind_tag 2.4.0
-%global java_xml_soap_repository javax.xml.soap
-%global java_xml_soap_tag 1.4.0
-%global java_annotation_repository javax.annotation
-%global java_annotation_tag 1.3.2
-%global java_xml_ws_repository jax-ws-spec
-%global java_xml_ws_tag 2.4.0
-%global com_sun_xml_fastinfoset_repository metro-fi
-%global com_sun_xml_fastinfoset_tag 1.2.15-RELEASE
-%global org_jvnet_staxex_repository metro-stax-ex
-%global org_jvnet_staxex_tag 1.8
-%global com_sun_istack_runtime_repository jaxb-istack-commons
-%global com_sun_istack_runtime_tag 3.0.7-RELEASE
-%global jaxb_ri_repository jaxb-v2
-%global jaxb_ri_tag 2.3.1
 # priority must be 6 digits in total
 %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap}
 %global priority        2705
@@ -118,13 +99,18 @@
 %global with_system_pcsc 0
 %global with_system_lcms 0
 %endif
+%if %{is_release}
+%global package_version 
%{featurever}.%{interimver}.%{updatever}.%{?patchver:%{patchver}}%{!?patchver:0}
+%else
+%global package_version 
%{featurever}.%{interimver}.%{updatever}.%{?patchver:%{patchver}}%{!?patchver:0}~%{buildver}
+%endif
+%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
 %bcond_with zero
 %if ! %{with zero}
 %global with_systemtap 1
 %else
 %global with_systemtap 0
 %endif
-%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
 %if %{with_systemtap}
 %global tapsetroot      %{_datadir}/systemtap
 %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
@@ -142,7 +128,7 @@
 %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
 %endif
 Name:           java-%{featurever}-openjdk
-Version:        %{featurever}.%{interimver}.%{updatever}.%{patchver}
+Version:        %{package_version}
 Release:        0
 Summary:        OpenJDK %{featurever} Runtime Environment
 License:        Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND 
GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only 
AND MPL-1.0 AND MPL-1.1 AND SUSE-Public-Domain AND W3C
@@ -164,24 +150,6 @@
 Source14:       TestCryptoLevel.java
 # Ensure ECDSA is working
 Source15:       TestECDSA.java
-# 
https://codeload.github.com/javaee/%{java_activation_repository}/tar.gz/%{java_activation_tag}
-Source20:       %{java_activation_repository}-%{java_activation_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{java_xml_bind_repository}/tar.gz/%{java_xml_bind_tag}
-Source21:       %{java_xml_bind_repository}-%{java_xml_bind_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{java_xml_soap_repository}/tar.gz/%{java_xml_soap_tag}
-Source22:       %{java_xml_soap_repository}-%{java_xml_soap_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{java_annotation_repository}/tar.gz/%{java_annotation_tag}
-Source23:       %{java_annotation_repository}-%{java_annotation_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{java_xml_ws_repository}/tar.gz/%{java_xml_ws_tag}
-Source24:       %{java_xml_ws_repository}-%{java_xml_ws_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{com_sun_xml_fastinfoset_repository}/tar.gz/%{com_sun_xml_fastinfoset_tag}
-Source25:       
%{com_sun_xml_fastinfoset_repository}-%{com_sun_xml_fastinfoset_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{org_jvnet_staxex_repository}/tar.gz/%{org_jvnet_staxex_tag}
-Source26:       %{org_jvnet_staxex_repository}-%{org_jvnet_staxex_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{com_sun_istack_runtime_repository}/tar.gz/%{com_sun_istack_runtime_tag}
-Source27:       
%{com_sun_istack_runtime_repository}-%{com_sun_istack_runtime_tag}.tar.gz
-# 
https://codeload.github.com/javaee/%{jaxb_ri_repository}/tar.gz/%{jaxb_ri_tag}
-Source28:       %{jaxb_ri_repository}-%{jaxb_ri_tag}.tar.gz
 # Fresh config.guess and config.sub files
 # wget -O config.guess 
'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
 Source100:      config.guess
@@ -202,7 +170,6 @@
 # Fix: implicit-pointer-decl
 Patch13:        implicit-pointer-decl.patch
 Patch15:        system-pcsclite.patch
-
 Patch16:        system-crypto-policy.patch
 Patch17:        nss-security-provider.patch
 Patch18:        fips.patch
@@ -223,8 +190,6 @@
 Patch401:       jaw-jdk10.patch
 Patch402:       jaw-nogtk.patch
 #
-Patch500:       activation-module.patch
-Patch501:       annotation-module.patch
 BuildRequires:  alsa-lib-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -333,8 +298,8 @@
 Summary:        OpenJDK %{featurever} Runtime Environment
 Group:          Development/Languages/Java
 Requires:       jpackage-utils
-Requires(post): java-ca-certificates
 Requires:       mozilla-nss
+Requires(post): java-ca-certificates
 # Post requires update-alternatives to install tool update-alternatives.
 Requires(post): update-alternatives
 # Postun requires update-alternatives to uninstall tool update-alternatives.
@@ -420,12 +385,12 @@
 Requires(post): update-alternatives
 # Postun requires update-alternatives to uninstall javadoc alternative.
 Requires(postun):update-alternatives
+BuildArch:      noarch
 %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap}
 # Standard JPackage javadoc provides.
 Provides:       java-%{javaver}-javadoc = %{version}-%{release}
 Provides:       java-javadoc = %{version}-%{release}
 %endif
-BuildArch:      noarch
 
 %description javadoc
 The OpenJDK %{featurever} API documentation.
@@ -449,15 +414,6 @@
 %prep
 %setup -q -n %{openjdk_dir}
 %setup -q -D -n %{openjdk_dir} -T -a 8
-%setup -q -D -n %{openjdk_dir} -T -a 20
-%setup -q -D -n %{openjdk_dir} -T -a 21
-%setup -q -D -n %{openjdk_dir} -T -a 22
-%setup -q -D -n %{openjdk_dir} -T -a 23
-%setup -q -D -n %{openjdk_dir} -T -a 24
-%setup -q -D -n %{openjdk_dir} -T -a 25
-%setup -q -D -n %{openjdk_dir} -T -a 26
-%setup -q -D -n %{openjdk_dir} -T -a 27
-%setup -q -D -n %{openjdk_dir} -T -a 28
 
 # Replace config.sub and config.guess with fresh versions
 cp %{SOURCE100} make/autoconf/build-aux/
@@ -506,9 +462,6 @@
 %patch401
 %patch402
 
-%patch500
-%patch501
-
 # Extract systemtap tapsets
 
 %if %{with_systemtap}
@@ -566,10 +519,10 @@
     --with-version-feature=%{featurever} \
     --with-version-interim=%{interimver} \
     --with-version-update=%{updatever} \
-    --with-version-patch=%{patchver} \
+    --with-version-patch=%{?patchver:%{patchver}}%{!?patchver:0} \
     --with-version-date=%{datever} \
     --with-version-build=%{buildver} \
-%if 1
+%if %{is_release}
     --with-version-pre="" \
 %endif
     --with-version-opt="suse-%{release}-%{_arch}" \
@@ -637,152 +590,6 @@
 cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
 rm -rf $JAVA_HOME/../newjdk
 
-%if %{add_back_javaee_modules}
-
-# Merge back some Java EE modules removed in OpenJDK 11 by JEP 320
-
-# Build the java.activation framework
-
-pushd %{java_activation_repository}-%{java_activation_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find activation -name \*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default 
--class-path=build:activation/src/main/resources 
$JAVA_HOME/../jmods/java.activation.jmod
-popd
-# Merge the java activation framework into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"java.activation,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the java.xml.bind
-
-pushd %{java_xml_bind_repository}-%{java_xml_bind_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find jaxb-api/src/main/java/ -name \*.java | 
xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default 
--class-path=build:jaxb-api/src/main/resources 
$JAVA_HOME/../jmods/java.xml.bind.jmod
-popd
-# Merge java.xml.bind into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"java.xml.bind,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the java.xml.soap
-
-pushd %{java_xml_soap_repository}-%{java_xml_soap_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find src/main/ -name \*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build 
$JAVA_HOME/../jmods/java.xml.soap.jmod
-popd
-# Merge java.xml.soap into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"java.xml.soap,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the java.annotation
-
-pushd %{java_annotation_repository}-%{java_annotation_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find src/main/java -name \*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build 
$JAVA_HOME/../jmods/java.annotation.jmod
-popd
-# Merge java.annotation into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"java.annotation,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the java.xml.ws
-
-pushd %{java_xml_ws_repository}-%{java_xml_ws_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find api/src/main -name \*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default 
--class-path=build:api/src/main/resources $JAVA_HOME/../jmods/java.xml.ws.jmod
-popd
-# Merge java.xml.ws into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"java.xml.ws,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the com.sum.xml.fastinfoset
-
-pushd %{com_sun_xml_fastinfoset_repository}-%{com_sun_xml_fastinfoset_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find code/fastinfoset/src/main/java -name 
\*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default 
--class-path=build:code/fastinfoset/src/main/resources 
$JAVA_HOME/../jmods/com.sun.xml.fastinfoset.jmod
-popd
-# Merge com.sun.xml.fastinfoset into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"com.sun.xml.fastinfoset,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the org.jvnet.staxex
-
-pushd %{org_jvnet_staxex_repository}-%{org_jvnet_staxex_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find stax-ex/src/java -name \*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build 
$JAVA_HOME/../jmods/org.jvnet.staxex.jmod
-popd
-# Merge org.jvnet.staxex into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"org.jvnet.staxex,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the com.sun.istack.runtime
-
-pushd %{com_sun_istack_runtime_repository}-%{com_sun_istack_runtime_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find istack-commons/runtime/src/main/java -name 
\*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build 
$JAVA_HOME/../jmods/com.sun.istack.runtime.jmod
-popd
-# Merge com.sun.istack into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"com.sun.istack.runtime,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the com.sun.xml.txw2
-
-pushd %{jaxb_ri_repository}-%{jaxb_ri_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find jaxb-ri/txw/runtime/src/main/java -name 
\*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build 
$JAVA_HOME/../jmods/com.sun.xml.txw2.jmod
-popd
-# Merge org.jvnet.staxex into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"com.sun.xml.txw2,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-# Build the com.sun.xml.bind
-
-pushd %{jaxb_ri_repository}-%{jaxb_ri_tag}
-if [ -e build ]; then rm -rf build; fi
-mkdir -p build
-$JAVA_HOME/bin/javac -d build `find jaxb-ri/runtime/impl/src/main/java -name 
\*.java | xargs`
-$JAVA_HOME/bin/jmod create --do-not-resolve-by-default 
--class-path=build:jaxb-ri/runtime/impl/src/main/resources 
$JAVA_HOME/../jmods/com.sun.xml.bind.jmod
-popd
-# Merge org.jvnet.staxex into the JDK
-source $JAVA_HOME/release; export MODULES
-$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules 
"com.sun.xml.bind,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
-cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
-rm -rf $JAVA_HOME/../newjdk
-
-%endif
-
 # cacerts are generated in runtime in openSUSE
 if [ -f %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts ]; then
         rm %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts

++++++ config.guess ++++++
++++ 1891 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/java-17-openjdk/config.guess
++++ and /work/SRC/openSUSE:Factory/.java-17-openjdk.new.1538/config.guess

++++++ config.sub ++++++
--- /var/tmp/diff_new_pack.MxQDEl/_old  2022-04-23 00:24:55.067738800 +0200
+++ /var/tmp/diff_new_pack.MxQDEl/_new  2022-04-23 00:24:55.071738802 +0200
@@ -1,12 +1,14 @@
 #! /bin/sh
 # Configuration validation subroutine script.
-#   Copyright 1992-2021 Free Software Foundation, Inc.
+#   Copyright 1992-2022 Free Software Foundation, Inc.
 
-timestamp='2021-01-08'
+# shellcheck disable=SC2006,SC2268 # see below for rationale
+
+timestamp='2022-01-03'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -50,7 +52,14 @@
 #      CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
 # It is wrong to echo any other type of specification.
 
-me=$(echo "$0" | sed -e 's,.*/,,')
+# The "shellcheck disable" line above the timestamp inhibits complaints
+# about features and limitations of the classic Bourne shell that were
+# superseded or lifted in POSIX.  However, this script identifies a wide
+# variety of pre-POSIX systems that do not have POSIX shells at all, and
+# even some reasonably current systems (Solaris 10 as case-in-point) still
+# have a pre-POSIX /bin/sh.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
 
 usage="\
 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
@@ -67,7 +76,7 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2022 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -112,9 +121,11 @@
 
 # Split fields of configuration type
 # shellcheck disable=SC2162
+saved_IFS=$IFS
 IFS="-" read field1 field2 field3 field4 <<EOF
 $1
 EOF
+IFS=$saved_IFS
 
 # Separate into logical components for further validation
 case $1 in
@@ -163,6 +174,10 @@
                                                basic_machine=$field1
                                                basic_os=$field2
                                                ;;
+                                       zephyr*)
+                                               basic_machine=$field1-unknown
+                                               basic_os=$field2
+                                               ;;
                                        # Manufacturers
                                        dec* | mips* | sequent* | encore* | 
pc533* | sgi* | sony* \
                                        | att* | 7300* | 3300* | delta* | 
motorola* | sun[234]* \
@@ -769,22 +784,22 @@
                vendor=hp
                ;;
        i*86v32)
-               cpu=$(echo "$1" | sed -e 's/86.*/86/')
+               cpu=`echo "$1" | sed -e 's/86.*/86/'`
                vendor=pc
                basic_os=sysv32
                ;;
        i*86v4*)
-               cpu=$(echo "$1" | sed -e 's/86.*/86/')
+               cpu=`echo "$1" | sed -e 's/86.*/86/'`
                vendor=pc
                basic_os=sysv4
                ;;
        i*86v)
-               cpu=$(echo "$1" | sed -e 's/86.*/86/')
+               cpu=`echo "$1" | sed -e 's/86.*/86/'`
                vendor=pc
                basic_os=sysv
                ;;
        i*86sol2)
-               cpu=$(echo "$1" | sed -e 's/86.*/86/')
+               cpu=`echo "$1" | sed -e 's/86.*/86/'`
                vendor=pc
                basic_os=solaris2
                ;;
@@ -917,14 +932,16 @@
                ;;
        leon-*|leon[3-9]-*)
                cpu=sparc
-               vendor=$(echo "$basic_machine" | sed 's/-.*//')
+               vendor=`echo "$basic_machine" | sed 's/-.*//'`
                ;;
 
        *-*)
                # shellcheck disable=SC2162
+               saved_IFS=$IFS
                IFS="-" read cpu vendor <<EOF
 $basic_machine
 EOF
+               IFS=$saved_IFS
                ;;
        # We use `pc' rather than `unknown'
        # because (1) that's what they normally are, and
@@ -1003,6 +1020,11 @@
                ;;
 
        # Here we normalize CPU types with a missing or matching vendor
+       armh-unknown | armh-alt)
+               cpu=armv7l
+               vendor=alt
+               basic_os=${basic_os:-linux-gnueabihf}
+               ;;
        dpx20-unknown | dpx20-bull)
                cpu=rs6000
                vendor=bull
@@ -1084,7 +1106,7 @@
                cpu=mipsisa64sb1el
                ;;
        sh5e[lb]-*)
-               cpu=$(echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/')
+               cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
                ;;
        spur-*)
                cpu=spur
@@ -1102,9 +1124,9 @@
                cpu=x86_64
                ;;
        xscale-* | xscalee[bl]-*)
-               cpu=$(echo "$cpu" | sed 's/^xscale/arm/')
+               cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
                ;;
-       arm64-*)
+       arm64-* | aarch64le-*)
                cpu=aarch64
                ;;
 
@@ -1165,7 +1187,7 @@
                        | alphapca5[67] | alpha64pca5[67] \
                        | am33_2.0 \
                        | amdgcn \
-                       | arc | arceb \
+                       | arc | arceb | arc32 | arc64 \
                        | arm | arm[lb]e | arme[lb] | armv* \
                        | avr | avr32 \
                        | asmjs \
@@ -1204,9 +1226,13 @@
                        | mips64vr5900 | mips64vr5900el \
                        | mipsisa32 | mipsisa32el \
                        | mipsisa32r2 | mipsisa32r2el \
+                       | mipsisa32r3 | mipsisa32r3el \
+                       | mipsisa32r5 | mipsisa32r5el \
                        | mipsisa32r6 | mipsisa32r6el \
                        | mipsisa64 | mipsisa64el \
                        | mipsisa64r2 | mipsisa64r2el \
+                       | mipsisa64r3 | mipsisa64r3el \
+                       | mipsisa64r5 | mipsisa64r5el \
                        | mipsisa64r6 | mipsisa64r6el \
                        | mipsisa64sb1 | mipsisa64sb1el \
                        | mipsisa64sr71k | mipsisa64sr71kel \
@@ -1283,35 +1309,37 @@
 if test x$basic_os != x
 then
 
-# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
+# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
 # set os.
 case $basic_os in
        gnu/linux*)
                kernel=linux
-               os=$(echo $basic_os | sed -e 's|gnu/linux|gnu|')
+               os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
                ;;
        os2-emx)
                kernel=os2
-               os=$(echo $basic_os | sed -e 's|os2-emx|emx|')
+               os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
                ;;
        nto-qnx*)
                kernel=nto
-               os=$(echo $basic_os | sed -e 's|nto-qnx|qnx|')
+               os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
                ;;
        *-*)
                # shellcheck disable=SC2162
+               saved_IFS=$IFS
                IFS="-" read kernel os <<EOF
 $basic_os
 EOF
+               IFS=$saved_IFS
                ;;
        # Default OS when just kernel was specified
        nto*)
                kernel=nto
-               os=$(echo $basic_os | sed -e 's|nto|qnx|')
+               os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
                ;;
        linux*)
                kernel=linux
-               os=$(echo $basic_os | sed -e 's|linux|gnu|')
+               os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
                ;;
        *)
                kernel=
@@ -1332,7 +1360,7 @@
                os=cnk
                ;;
        solaris1 | solaris1.*)
-               os=$(echo $os | sed -e 's|solaris1|sunos4|')
+               os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
                ;;
        solaris)
                os=solaris2
@@ -1361,7 +1389,7 @@
                os=sco3.2v4
                ;;
        sco3.2.[4-9]*)
-               os=$(echo $os | sed -e 's/sco3.2./sco3.2v/')
+               os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
                ;;
        sco*v* | scout)
                # Don't match below
@@ -1391,7 +1419,7 @@
                os=lynxos
                ;;
        mac[0-9]*)
-               os=$(echo "$os" | sed -e 's|mac|macos|')
+               os=`echo "$os" | sed -e 's|mac|macos|'`
                ;;
        opened*)
                os=openedition
@@ -1400,10 +1428,10 @@
                os=os400
                ;;
        sunos5*)
-               os=$(echo "$os" | sed -e 's|sunos5|solaris2|')
+               os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
                ;;
        sunos6*)
-               os=$(echo "$os" | sed -e 's|sunos6|solaris3|')
+               os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
                ;;
        wince*)
                os=wince
@@ -1437,7 +1465,7 @@
                ;;
        # Preserve the version number of sinix5.
        sinix5.*)
-               os=$(echo $os | sed -e 's|sinix|sysv|')
+               os=`echo "$os" | sed -e 's|sinix|sysv|'`
                ;;
        sinix*)
                os=sysv4
@@ -1684,7 +1712,7 @@
 # Now, validate our (potentially fixed-up) OS.
 case $os in
        # Sometimes we do "kernel-libc", so those need to count as OSes.
-       musl* | newlib* | uclibc*)
+       musl* | newlib* | relibc* | uclibc*)
                ;;
        # Likewise for "kernel-abi"
        eabi* | gnueabi*)
@@ -1707,12 +1735,12 @@
             | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
             | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
             | mirbsd* | netbsd* | dicos* | openedition* | ose* \
-            | bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \
+            | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
             | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
             | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
             | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
             | udi* | lites* | ieee* | go32* | aux* | hcos* \
-            | chorusrdb* | cegcc* | glidix* \
+            | chorusrdb* | cegcc* | glidix* | serenity* \
             | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
             | midipix* | mingw32* | mingw64* | mint* \
             | uxpv* | beos* | mpeix* | udk* | moxiebox* \
@@ -1725,7 +1753,8 @@
             | skyos* | haiku* | rdos* | toppers* | drops* | es* \
             | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
             | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
-            | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*)
+            | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
+            | fiwix* )
                ;;
        # This one is extra strict with allowed versions
        sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1742,11 +1771,12 @@
 # As a final step for OS-related things, validate the OS-kernel combination
 # (given a valid OS), if there is a kernel.
 case $kernel-$os in
-       linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | 
linux-musl* | linux-uclibc* )
+       linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
+                  | linux-musl* | linux-relibc* | linux-uclibc* )
                ;;
        uclinux-uclibc* )
                ;;
-       -dietlibc* | -newlib* | -musl* | -uclibc* )
+       -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
                # These are just libc implementations, not actual OSes, and thus
                # require a kernel.
                echo "Invalid configuration \`$1': libc \`$os' needs explicit 
kernel." 1>&2

++++++ jdk-17.0.2+8.tar.gz -> jdk-17.0.3+7.tar.gz ++++++
/work/SRC/openSUSE:Factory/java-17-openjdk/jdk-17.0.2+8.tar.gz 
/work/SRC/openSUSE:Factory/.java-17-openjdk.new.1538/jdk-17.0.3+7.tar.gz 
differ: char 13, line 1

Reply via email to