Comments (3)
Because Moneta is still backward-compatible with Java 8. Maybe 1.5.x could raise the bar to Java 11, but for now it's still Java 8.
Also the JDK HttpClient is less powerful than OkHttp, e.g. it just offers a single connectTimeout
(https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.Builder.html) and not multiple, similar to the old HTTPConnection
.
So while 1.5 using Jakarta EE 10 will mean, we also have to use Java 11 as the minimum JDK, we'll see, whether we switch to the JDK version already or deprecate some settings in the javamoney.properties
first before making that switch.
Jakarta Annotations are used for the Priority
of services.
from jsr354-ri.
Thanks, ok, I see the reasoning... Hard pass from me due to the above issue at this point, but if you want this library to be truly versatile and non-intrusive, please consider removing Jakarta EE requirements (so it is useful in Micronaut, Helidon SE, Spring) and prefer core Java SE over external libraries. Maybe a smaller core that can be useful by anyone, with Jakarta EE entanglements in a higher layer?
from jsr354-ri.
It's a standard library that was refactored from javax
(just like JavaMoney) to jakarta
, but it's a single standalone library, used by pretty much all the mentioned frameworks anyway (https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api)
from jsr354-ri.
Related Issues (20)
- Provider incorrectly marked as available + doesn't fallback to next provider in the chain HOT 7
- Money (USD) calculations not rounding properly HOT 1
- 1.4.3 Release Train HOT 1
- Fix Resource Caching based on ECB findings HOT 1
- Unnecessary logging on INFO level HOT 2
- java.lang.IllegalStateException: AmbiguousConfiguration detected for 'org.javamoney.moneta.Money.defaults.roundingMode' HOT 5
- DuplicateRelativeFileException when importing library in Android Studio HOT 4
- Convert org.javamoney.moneta.spi.loader.LoadableResource into an interface HOT 4
- Fix Logback issue
- Reactivate IMF in Moneta BOM
- Problem when upgrade 1.4.2 to 1.4.3 HOT 3
- Upgrade OkHttp dependency to version 4.12.0+ HOT 2
- AWG cash rounding is not supported HOT 4
- `RoundingMode` of `DefaultRoundingProvider` hardcoded to `HALF_EVEN` HOT 1
- Raise minimum JDK to 11
- Drop the URLconnection loaders
- ClassNotFoundException: org.javamoney.moneta.spi.loader.LoaderService$Listener HOT 1
- Bump Okhttp 4.12 to Okhttp 5.0.0-alpha.12 ("alpha") HOT 1
- Calling FastMoney.with(MonetaryOperator) results in a Arithmetic exception HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsr354-ri.