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

8303175: (fs) Deprecate com.sun.nio.file.SensitivityWatchEventModifier for removal #12746

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,9 +32,18 @@
* Defines the <em>sensitivity levels</em> when registering objects with a
* watch service implementation that polls the file system.
*
* @deprecated
* The sensitivity levels were historically used by polling-based
* {@link java.nio.file.WatchService WatchService} implementations to configure
* the polling interval. They are are no longer used. The {@code WatchService}
* implementations in the JDK ignore these {@link java.nio.file.WatchEvent
* WatchEvent} modifiers if they are specified when registering a directory
* to be watched.
*
* @since 1.7
*/

@Deprecated(since="21", forRemoval = true)
public enum SensitivityWatchEventModifier implements Modifier {
/**
* High sensitivity.