Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings for Java 21 #876

Closed
jenetics opened this issue Aug 5, 2023 · 1 comment
Closed

Fix warnings for Java 21 #876

jenetics opened this issue Aug 5, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@jenetics
Copy link
Owner

jenetics commented Aug 5, 2023

Fix compiler warnings for Java 20.

> Task :jenetics:compileJava
```java

``` jenetics/src/main/java/io/jenetics/internal/util/Lifecycle.java:779: warning: [removal] ThreadDeath in java.lang has been deprecated and marked for removal
                                } catch (VirtualMachineError|ThreadDeath|LinkageError e) {
                                                             ^
1 warning
jenetics/src/test/java/io/jenetics/internal/util/ConcurrencyTest.java:66: warning: [deprecation] getId() in Thread has been deprecated
                                        _task, Thread.currentThread().getId(), _sleep
                                                                     ^
1 warning
jenetics.incubator/src/main/java/io/jenetics/incubator/beans/property/Property.java:207: warning: [removal] ThreadDeath in java.lang has been deprecated and marked for removal
                                } catch (VirtualMachineError|ThreadDeath|LinkageError e) {
                                                             ^
1 warning
``
@jenetics jenetics added this to the v7.2.0 milestone Aug 5, 2023
@jenetics jenetics self-assigned this Aug 5, 2023
jenetics added a commit that referenced this issue Aug 5, 2023
Signed-off-by: Franz Wilhelmstötter <franz.wilhelmstoetter@gmail.com>
jenetics added a commit that referenced this issue Aug 5, 2023
@jenetics
Copy link
Owner Author

jenetics commented Aug 5, 2023

Merged into r7.2.0.

@jenetics jenetics closed this as completed Aug 5, 2023
@jenetics jenetics changed the title Fix warnings for Java 20 Fix warnings for Java 21 Aug 5, 2023
jenetics added a commit that referenced this issue Aug 5, 2023
Signed-off-by: Franz Wilhelmstötter <franz.wilhelmstoetter@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant