jsr354-ri icon indicating copy to clipboard operation
jsr354-ri copied to clipboard

JSR 354 - Moneta: Reference Implementation

Results 57 jsr354-ri issues
Sort by recently updated
recently updated
newest added

https://github.com/JavaMoney/jsr354-ri/blob/ac0afde6f37ecc8a9a30c3386b2350dbe7d37459/moneta-core/src/main/java/org/javamoney/moneta/spi/PriorityAwareServiceProvider.java#L18 depends on https://github.com/JavaMoney/jsr354-ri/blob/ac0afde6f37ecc8a9a30c3386b2350dbe7d37459/pom.xml#L327 crashing at runtime: ``` java.lang.NoClassDefFoundError: javax/annotation/Priority at org.javamoney.moneta.spi.PriorityAwareServiceProvider.compareServices(PriorityAwareServiceProvider.java:72) at java.base/java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at java.base/java.util.TimSort.sort(TimSort.java:220) at java.base/java.util.Arrays.sort(Arrays.java:1307) at java.base/java.util.ArrayList.sort(ArrayList.java:1721) at org.javamoney.moneta.spi.PriorityAwareServiceProvider.loadServices(PriorityAwareServiceProvider.java:102) at org.javamoney.moneta.spi.PriorityAwareServiceProvider.getServices(PriorityAwareServiceProvider.java:66) at javax.money.spi.Bootstrap.getServices(Bootstrap.java:110) at org.javamoney.moneta.spi.DefaultMonetaryCurrenciesSingletonSpi.getDefaultProviderChain(DefaultMonetaryCurrenciesSingletonSpi.java:134) at org.javamoney.moneta.spi.DefaultMonetaryCurrenciesSingletonSpi.collectProviders(DefaultMonetaryCurrenciesSingletonSpi.java:91)...

external

While the Indian Rupee formatting tests work below Java 14, they fail from JDK 14 on.

Priority: High
java14

When a MonetaryAmount is instantiated with a scaled BigDecimal, then extracting the big decimal using `Money#getNumber` leads to a BigDecimal with unexpected scale (e.g. "-1"). Example ----------- ``` @Test void...

analysis
external

OK, I went through the API as much as I could and as I do fully understand why it is created the way it is - it causes a problem...

question
deferred
help wanted
external

After removing Java 9 (#376) add Java 17 to the CI pipeline

task
java17

I'm upgrading to the JPMS versions (from the BP versions) and am confused as to the difference between the `org.javamoney` and `org.javamoney.moneta` Group IDs on Maven Central. (specifically I'm getting...

documentation

Based on the error log: ``` Downloading JDK from https://download.java.net/java/early_access/jdk19/12/GPL/openjdk-19-ea+12_linux-x64_bin.tar.gz https://download.java.net/java/GA/jdk9/9.0.4/binaries/openjdk-9.0.4_linux-x64_bin.tar.gz... The command "~/bin/install-jdk.sh --target "/home/travis/openjdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "GPL" --cacerts" failed and exited with 8 during ....

task
Priority: Critical
java9

At the moment `MonetaryConfig` is marked as deprecated, but it is still used widely in Moneta. Replace it and remove it with the next major version of the JSR.

enhancement

If I create a currency with 2 decimal places and then try format it in a locale with a country with no decimal places (eg. JAPAN), the USD amount gets...

analysis

Following the example to retrieve conversion rates for a given historic point in time ``` Money .of(BigDecimal.TEN, "EUR") .with( MonetaryConversions.getConversion( ConversionQueryBuilder.of() .setTermCurrency("USD") .set(LocalDate.of(2015, 1, 5)) .build() ) ) ``` the...