diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2019-11-06 13:41:35 -0500 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2019-11-11 09:34:59 +0100 |
commit | 8089e738f40ef630fe34568fe3688ce1d8244d28 (patch) | |
tree | 11bf6d1b1cb14582915765a5582774436c3b09b1 /recipes-core/classpath/classpath-native_0.99.bb | |
parent | b5db760e6a6048381301414be387c08a3025dc6e (diff) | |
download | meta-java-8089e738f40ef630fe34568fe3688ce1d8244d28.tar.gz |
classpath: add patch to fix BigDecimal.stripTrailingZeros()'s handling of 0.
Previously, 'new BigDecimal("0").stripTrailingZeros()' would blow up:
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt
at java.math.BigDecimal.stripTrailingZeros
Fixes https://sourceforge.net/p/saxon/mailman/message/27204592/
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/classpath/classpath-native_0.99.bb')
-rw-r--r-- | recipes-core/classpath/classpath-native_0.99.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-native_0.99.bb b/recipes-core/classpath/classpath-native_0.99.bb index 93d67b2..daf7611 100644 --- a/recipes-core/classpath/classpath-native_0.99.bb +++ b/recipes-core/classpath/classpath-native_0.99.bb | |||
@@ -11,6 +11,7 @@ SRC_URI += " \ | |||
11 | file://miscompilation.patch \ | 11 | file://miscompilation.patch \ |
12 | file://toolwrapper-exithook.patch \ | 12 | file://toolwrapper-exithook.patch \ |
13 | file://0001-Fix-bad-implementation-of-compareTo-in-BigDecimal.patch \ | 13 | file://0001-Fix-bad-implementation-of-compareTo-in-BigDecimal.patch \ |
14 | file://0002-Fix-BigDecimal.stripTrailingZeros-s-handling-of-0.patch \ | ||
14 | " | 15 | " |
15 | SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4" | 16 | SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4" |
16 | SRC_URI[sha256sum] = "f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8" | 17 | SRC_URI[sha256sum] = "f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8" |