Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
removing lots of code-duplication
Signed-off-by: André Draszik <andre.draszik@jci.com>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
|
|
Add missing dependencies in order to build according
to latest changes done in poky where all dependencies
must be installed relative to recipe WORKDIR.
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
icedtea7-native, openjdk-7, and jamvm-native requires pkg-config to
configure without running into an error similar to
7554: syntax error near unexpected token `NSS,'
7554: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)'
classpath-native and jamvm-native both needs to depend on
java-initial-native
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
This reverts commit 15ed9662e26ed4ac8d843fb9d2335a49a9c03088.
The change has break external builds causing build failures. The
change here needs to be revisited to avoid the breakages and than
re-applied.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The recipes below depended on a hardcoded native compile
(ecj-initial-native). Since we may use another native compiler to
build them, we set the dependency in virtual/javac-native instead.
* cacao
* classpath-native
* jamvm
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
A number of recipes in meta-java use autotools.bbclass for building; internally
it uses the sstate-control populate_sysroot manifests to locate and copy
aslocals for configure dependencies as part of the do_configure step.
The manifest path differs depending on if it's a native package or not so
autotools.bbclass looks at the package name to determine if its native or not
(it's native if it ends with "-native").
The warnings are emitted because a few (native) recipes in meta-java (such as
cacao-initial, classpath-initial and more) are incorrectly being classified as
non-native by autotools.bbclass, which makes it look for the manifest in the
wrong place and finally gives up with the warning:
WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found
This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap,
jamvm-initial and jikes-initial since they are all native and rely on autotools.
This patch renames the recipes so they end with -native, e.g ecj-initial-native.
It also updates the recipes so they DEPEND on the corresponding new name. This
helps autotools.bbclass to properly classify the recipes are native and silence
the warnings.
Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
* switch to INC_PR for native and initial
* clean up dependencies
* inherit gettext class instead of depeding directly on the package
* clean up patches
|