Skip to content

Commit

Permalink
Merge pull request ruby#3195 from eregon/SuppressWarnings-restricted
Browse files Browse the repository at this point in the history
Suppress restricted warnings from JDK 24
  • Loading branch information
tenderlove authored Oct 31, 2024
2 parents 086a498 + 2209c69 commit ff26b40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/org/prism/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

public abstract class Parser {

@SuppressWarnings("restricted")
public static void loadLibrary(String path) {
System.load(path);
}
Expand Down

0 comments on commit ff26b40

Please sign in to comment.