Skip to content

Commit

Permalink
JDK23: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Rem…
Browse files Browse the repository at this point in the history
…oval: Fix warnings/breaks
  • Loading branch information
briancorbinxyz committed Aug 8, 2024
1 parent 91571c0 commit fa28496
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
// https://doc.rust-lang.org/cargo/getting-started/installation.html
val osName = System.getProperty("os.name").lowercase()

val cargoBuildDir = file("${layout.buildDirectory}/cargo")
val cargoBuildDir = file("${layout.buildDirectory.get()}/cargo")

val libPath = when {
osName.contains("win") -> "${cargoBuildDir}/debug"
Expand Down

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions app/src/main/java/org/example/interop/TicTacToeGameBoard.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class TicTacToeGameBoard implements GameBoard {
private final Map<Integer, String> idToPlayerMarker;

private final Cleaner cleaner;

@SuppressWarnings("unused")
private final Cleaner.Cleanable cleanable;

private MethodHandle newGameBoard;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;

@SuppressWarnings("unused")
public class PlayerIdsBenchmark {

@Benchmark
Expand Down

0 comments on commit fa28496

Please sign in to comment.