You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These warnings appear when compiling the Java bindings on macOS 14:
build-project:
[echo] linkgrammar: /Users/runner/work/link-grammar/link-grammar/bindings/java/build.xml
[javac] Compiling 9 source files to /Users/runner/work/link-grammar/link-grammar/bindings/java/bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:42: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('"'), new Character('"'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:42: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('"'), new Character('"'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:43: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('\\'), new Character('\\'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:43: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('\\'), new Character('\\'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:44: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('/'), new Character('/'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:44: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('/'), new Character('/'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:45: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('b'), new Character('\b'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:45: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('b'), new Character('\b'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:46: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('f'), new Character('\f'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:46: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('f'), new Character('\f'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:47: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('n'), new Character('\n'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:47: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('n'), new Character('\n'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:48: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('r'), new Character('\r'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:48: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('r'), new Character('\r'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:49: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('t'), new Character('\t'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:49: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] escapes.put(new Character('t'), new Character('\t'));
[javac] ^
[javac] /Users/runner/work/link-grammar/link-grammar/bindings/java/org/linkgrammar/JSONReader.java:307: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] Character value = escapes.get(new Character(c));
[javac] ^
[javac] 21 warnings
The text was updated successfully, but these errors were encountered:
linas
changed the title
warning: [removal] Character(char) in Character has been deprecated and marked for removal
Java: warning: [removal] Character(char) in Character has been deprecated and marked for removal
Apr 25, 2024
These warnings appear when compiling the Java bindings on macOS 14:
The text was updated successfully, but these errors were encountered: