diff options
| author | Crucible <crucible@localhost> | 2026-10-21 17:46:18 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-21 17:46:18 -0500 |
| commit | dd7c7f0914b2eb83ac283441de30766578426392 (patch) | |
| tree | 70f6a0ebb66404cccfe9f4dea292bf5482cda401 /dev-python/jpype/files/jpype-1.7.1-java-release.patch | |
| parent | 7f39132ab3dd3cb51fa99aabd48800725855dfbb (diff) | |
| download | srcux-dd7c7f0914b2eb83ac283441de30766578426392.tar.gz srcux-dd7c7f0914b2eb83ac283441de30766578426392.tar.xz srcux-dd7c7f0914b2eb83ac283441de30766578426392.zip | |
Publish srcux candidate 0000000776-20261021-173123
Diffstat (limited to 'dev-python/jpype/files/jpype-1.7.1-java-release.patch')
| -rw-r--r-- | dev-python/jpype/files/jpype-1.7.1-java-release.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/jpype/files/jpype-1.7.1-java-release.patch b/dev-python/jpype/files/jpype-1.7.1-java-release.patch new file mode 100644 index 000000000000..c60a4939ec46 --- /dev/null +++ b/dev-python/jpype/files/jpype-1.7.1-java-release.patch @@ -0,0 +1,32 @@ +Upstream uses URLDecoder.decode(String, Charset) - unavailable in Java 9 + +--- a/native/build.xml ++++ b/native/build.xml +@@ -1,7 +1,7 @@ + <project default="all" name="JPype - Native"> + + <!-- JAVA_VERSION must match the oldest supported Java version --> +- <property name="JAVA_VERSION" value="9" /> ++ <property name="JAVA_VERSION" value="11" /> + + <!-- src can't be "java" as it breaks nose tests --> + <property name="src" location="jpype_module/src/main/java"/> +@@ -17,16 +17,14 @@ + <mkdir dir="${build}/classes/META-INF/versions/0"/> + <mkdir dir="${build}/lib"/> + <javac destdir="${build}/classes" +- source="${JAVA_VERSION}" +- target="${JAVA_VERSION}" ++ release="${JAVA_VERSION}" + excludes="**/Reflector0.java" + includeantruntime="false" + > + <src path="${src}"/> + </javac> + <javac destdir="${build}/classes/META-INF/versions/0" +- source="${JAVA_VERSION}" +- target="${JAVA_VERSION}" ++ release="${JAVA_VERSION}" + includes="**/Reflector0.java" + includeantruntime="false" + > |
