Hideki Yamane pushed to branch debian/sid at Debian Java Maintainers / jcodings
Commits: 9553c0c3 by Marcin Mielzynski at 2019-03-06T17:15:31Z [maven-release-plugin] prepare for next development iteration - - - - - 9e4cbe27 by Marcin Mielzynski at 2019-04-23T16:29:53Z fix for #23 - reenable old reflection loading api - - - - - 0b5dc3cd by Marcin Mielzynski at 2019-04-23T16:32:48Z [maven-release-plugin] prepare release jcodings-1.0.44 - - - - - 86a75cf6 by Hideki Yamane at 2019-05-18T01:35:00Z Merge tag 'jcodings-1.0.44' into debian/sid [maven-release-plugin] copy for tag jcodings-1.0.44 - - - - - c43403ea by Hideki Yamane at 2019-05-18T01:36:45Z use https for upstrem github URL - - - - - 72533975 by Hideki Yamane at 2019-05-18T01:37:10Z update Upstream-Contact to point JRuby website - - - - - 176e4fba by Hideki Yamane at 2019-05-18T01:38:30Z update copyright year - - - - - 61daa2f6 by Hideki Yamane at 2019-05-18T01:38:57Z set Rules-Requires-Root: no - - - - - 6ab30aa1 by Hideki Yamane at 2019-05-18T01:39:51Z note to changelog - - - - - bf3fb152 by Hideki Yamane at 2019-05-18T01:40:26Z update patch with 1.0.44 - - - - - df6f4a14 by Hideki Yamane at 2019-05-18T01:45:00Z drop obsolete debian/README.source get-orig-source doesn't exist in debian/rules anymore - - - - - 4bb143f2 by Hideki Yamane at 2019-05-18T01:58:10Z use "--no-parent" option to ignore unnecessary dependency - - - - - 11f9050b by Hideki Yamane at 2019-05-18T02:02:08Z note to changelog - - - - - 10 changed files: - − debian/README.source - debian/changelog - debian/control - debian/copyright - debian/libjcodings-java.poms - − debian/patches/remove_unnecessary_dependency.patch - − debian/patches/series - pom.xml - src/org/jcodings/Encoding.java - test/org/jcodings/specific/TestUnicode.java Changes: ===================================== debian/README.source deleted ===================================== @@ -1,8 +0,0 @@ -jcodings -======== - -Use the rules/get-orig-source target to create the orig.tar.gz. -For more details on repackaging of upstream sources please see the -debian/orig-tar.sh file. - - -- Torsten Werner <[email protected]> Fri, 30 Jul 2010 04:32:11 +0200 ===================================== debian/changelog ===================================== @@ -1,3 +1,18 @@ +jcodings (1.0.44-1) unstable; urgency=medium + + * New upstream release + * debian/copyright + - use https for upstream github URL + - update Upstream-Contact to point JRuby website + - update copyright year + * debian/control + - set Rules-Requires-Root: no + * debian/libjcodings-java.poms + - use "--no-parent" option to ignore unnecessary dependency + * drop obsolete debian/README.source + + -- Hideki Yamane <[email protected]> Sat, 18 May 2019 11:02:03 +0900 + jcodings (1.0.43-1) unstable; urgency=medium * New upstream release ===================================== debian/control ===================================== @@ -10,6 +10,7 @@ Standards-Version: 4.3.0 Vcs-Git: https://salsa.debian.org/java-team/jcodings.git Vcs-Browser: https://salsa.debian.org/java-team/jcodings Homepage: https://github.com/jruby/jcodings +Rules-Requires-Root: no Package: libjcodings-java Architecture: all ===================================== debian/copyright ===================================== @@ -1,17 +1,17 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JCodings -Upstream-Contact: Thomas E. Enobo -Source: http://github.com/jruby/jcodings +Upstream-Contact: https://www.jruby.org/ +Source: https://github.com/jruby/jcodings Files: * -Copyright: 2008-2012 Marcin Mielżyński +Copyright: 2008-2019 Marcin Mielżyński <[email protected]> 2008-2010 Thomas E. Enobo <[email protected]> 2009-2015 Charles Oliver Nutter <[email protected]> License: MIT Files: debian/* Copyright: 2010 Torsten Werner <[email protected]> - 2012-2017 Hideki Yamane <[email protected]> + 2012-2019 Hideki Yamane <[email protected]> License: MIT License: MIT ===================================== debian/libjcodings-java.poms ===================================== @@ -25,4 +25,4 @@ # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # -pom.xml --has-package-version --java-lib +pom.xml --has-package-version --java-lib --no-parent ===================================== debian/patches/remove_unnecessary_dependency.patch deleted ===================================== @@ -1,19 +0,0 @@ -Description: avoid unnecessary dependency to deal with FTBFS -Author: Hideki Yamane <[email protected]> -Forwarded: not-needed -Last-Update: 2018-09-17 - ---- a/pom.xml -+++ b/pom.xml -@@ -6,11 +6,6 @@ - <version>1.0.43</version> - <name>JCodings</name> - <description>Byte based encoding support library for java</description> -- <parent> -- <groupId>org.sonatype.oss</groupId> -- <artifactId>oss-parent</artifactId> -- <version>7</version> -- </parent> - <licenses> - <license> - <name>MIT License</name> ===================================== debian/patches/series deleted ===================================== @@ -1 +0,0 @@ -remove_unnecessary_dependency.patch ===================================== pom.xml ===================================== @@ -3,7 +3,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.jruby.jcodings</groupId> <artifactId>jcodings</artifactId> - <version>1.0.43</version> + <version>1.0.44</version> <name>JCodings</name> <description>Byte based encoding support library for java</description> <parent> ===================================== src/org/jcodings/Encoding.java ===================================== @@ -564,7 +564,11 @@ public abstract class Encoding implements Cloneable { public static final byte NEW_LINE = (byte)0x0a; public static Encoding load(String name) { - String encClassName = name; + return load(name, "org.jcodings.specific"); + } + + public static Encoding load(String name, String pkg) { + String encClassName = pkg + "." + name + "Encoding"; Class<?> encClass; try { encClass = Class.forName(encClassName); ===================================== test/org/jcodings/specific/TestUnicode.java ===================================== @@ -45,4 +45,9 @@ public class TestUnicode { assertEquals(enc.codeToMbcLength(0xfffffffe), 1); // USE_INVALID_CODE_SCHEME assertEquals(enc.codeToMbcLength(0xffffffff), 1); // USE_INVALID_CODE_SCHEME } + + @Test + public void testEncodingLoad() throws Exception { + assertEquals(UTF8Encoding.INSTANCE, Encoding.load("UTF8")); + } } View it on GitLab: https://salsa.debian.org/java-team/jcodings/compare/96dd5ef7827f81088ab26a70664d7e52df75adfd...11f9050be9ee5bc8aa3b45cc868c22fd0ae671a5 -- View it on GitLab: https://salsa.debian.org/java-team/jcodings/compare/96dd5ef7827f81088ab26a70664d7e52df75adfd...11f9050be9ee5bc8aa3b45cc868c22fd0ae671a5 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

