diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2019-11-06 13:41:34 -0500 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2019-11-11 09:34:59 +0100 |
commit | b5db760e6a6048381301414be387c08a3025dc6e (patch) | |
tree | d39d3810d95e8d906d03adf270bf6ae8a157092d /recipes-core/classpath/classpath-native_0.99.bb | |
parent | 72d32b73861edeed08e9463ceb6e3995f1982be6 (diff) | |
download | meta-java-b5db760e6a6048381301414be387c08a3025dc6e.tar.gz |
classpath: add patch to fix BigDecimal.compareTo()
Prior to this patch compareTo couldn't handle operands with negative
scales. It passes the following unit test from JDK8:
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/test/java/math/BigDecimal/CompareToTests.java
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 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes-core/classpath/classpath-native_0.99.bb b/recipes-core/classpath/classpath-native_0.99.bb index a1e1e0f..93d67b2 100644 --- a/recipes-core/classpath/classpath-native_0.99.bb +++ b/recipes-core/classpath/classpath-native_0.99.bb | |||
@@ -5,11 +5,12 @@ DEPENDS += "classpath-initial-native ecj-initial-native virtual/java-initial-nat | |||
5 | PR = "${INC_PR}.0" | 5 | PR = "${INC_PR}.0" |
6 | 6 | ||
7 | SRC_URI += " \ | 7 | SRC_URI += " \ |
8 | file://sun-security-getproperty.patch;striplevel=0 \ | 8 | file://sun-security-getproperty.patch;striplevel=0 \ |
9 | file://ecj_java_dir.patch \ | 9 | file://ecj_java_dir.patch \ |
10 | file://autotools.patch \ | 10 | file://autotools.patch \ |
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 | " | 14 | " |
14 | SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4" | 15 | SRC_URI[md5sum] = "0ae1571249172acd82488724a3b8acb4" |
15 | SRC_URI[sha256sum] = "f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8" | 16 | SRC_URI[sha256sum] = "f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8" |