Accepting request 1141014 from Java:packages
Force java 8 compatibility when building with JDK <= 21 OBS-URL: https://build.opensuse.org/request/show/1141014 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jna?expand=0&rev=6
This commit is contained in:
commit
19faede37c
@ -1,6 +1,6 @@
|
||||
--- jna-5.13.0/build.xml 2023-05-30 15:30:31.116195853 +0200
|
||||
+++ jna-5.13.0/build.xml 2023-05-30 15:31:56.400786710 +0200
|
||||
@@ -106,8 +106,12 @@
|
||||
@@ -106,8 +106,14 @@
|
||||
JDK 11 is the last JDK, that supports creation of Java 6 compatible class
|
||||
files.
|
||||
-->
|
||||
@ -10,6 +10,8 @@
|
||||
<matches pattern="^1\.\d+$" string="${ant.java.version}"/>
|
||||
+ <matches pattern="^9.*$" string="${ant.java.version}"/>
|
||||
+ <matches pattern="^1.*$$" string="${ant.java.version}"/>
|
||||
+ <matches pattern="^20.*$$" string="${ant.java.version}"/>
|
||||
+ <matches pattern="^21.*$$" string="${ant.java.version}"/>
|
||||
+ </or>
|
||||
</condition>
|
||||
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 15:33:23 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Modified patch:
|
||||
* jna-java8compat.patch
|
||||
+ force java 1.8 compatibility for all JDKs which support it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 10:34:18 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user