jodd-util
jodd-util copied to clipboard
Essential Java utilities.
## Current behavior As far as I can determine, all type conversions performed by Jodd BeanUtil or rather its associated converters are all with respect to the default locale. ##...
Minimal code to reproduce the problem. ```java public static void main(String[] args) { int start = JulianDate.of(LocalDate.of(0, 1, 1)).getInteger(); int end = JulianDate.of(LocalDate.of(9999, 12, 31)).getInteger(); for (int i = start;...
The `SecurityManager` API is deprecated for removal, see also https://openjdk.org/jeps/486 It is used in this project for `SecurityManager#getClassContext`: https://github.com/oblac/jodd-util/blob/f93798f3bfa18e9d923afab0f92a95eea0442b59/src/main/java/jodd/util/ClassUtil.java#L1142 That use-case could be migrated to `java.lang.StackWalker` API added in Java...
bool is_odd = x & 1; bool is_even = !(x & 1);