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
The CI build applies -Werror when CI build happens (see project/Common.scala)
DirectoryChangesSource.java uses a com.sun class that has been deprecated.
I tried adding @SuppressWarnings("deprecation") in various places but the Werror check still fails.
[warn] /home/runner/work/pekko-connectors/pekko-connectors/file/src/main/java/org/apache/pekko/stream/connectors/file/impl/DirectoryChangesSource.java:103:1: com.sun.nio.file.SensitivityWatchEventModifier in com.sun.nio.file has been deprecated and marked for removal
The text was updated successfully, but these errors were encountered:
private final WatchKey watchKey =
directoryPath.register(
service,
new WatchEvent.Kind<?>[] {ENTRY_CREATE, ENTRY_MODIFY, ENTRY_DELETE, OVERFLOW},
// this is com.sun internal, but the service is useless on OSX without it
SensitivityWatchEventModifier.HIGH);
The CI build applies -Werror when CI build happens (see project/Common.scala)
DirectoryChangesSource.java uses a com.sun class that has been deprecated.
I tried adding
@SuppressWarnings("deprecation")
in various places but the Werror check still fails.[warn] /home/runner/work/pekko-connectors/pekko-connectors/file/src/main/java/org/apache/pekko/stream/connectors/file/impl/DirectoryChangesSource.java:103:1: com.sun.nio.file.SensitivityWatchEventModifier in com.sun.nio.file has been deprecated and marked for removal
The text was updated successfully, but these errors were encountered: