ddanielr opened a new issue, #4820:
URL: https://github.com/apache/accumulo/issues/4820

   **Describe the bug**
   
   When code has been marked for deprecation the old methods are removed in 
favor of a new default implementation being added in the interface that only 
throws an `UnsupportedOperation` runtime exception. 
   This causes breakages in user code as the deprecated code should still 
function, even when marked for deprecation. 
   https://semver.org/#how-should-i-handle-deprecating-functionality 
   
   Instead, the code functionality is removed when marked for deprecation and 
user code breaks by encountering runtime exceptions. 
   
   **Versions (OS, Maven, Java, and others, as appropriate):**
    - Affected version(s) of this project: [e.g. 1.10.0] 2.1.x, 3.x
   
   **Expected behavior**
   When marking code for deprecation, the existing methods should continue to 
function until removed in a later major version.
   Current deprecated code should be examined and ensure that, while 
deprecated, the code continues to function as expected. 
   
   
   **Additional context**
   There have been at least two known issue tickets where users have been 
warned that code was being deprecated, but the code immediately stopped 
functioning in the same major version. 
   
   https://github.com/apache/accumulo/issues/4810
   https://github.com/apache/accumulo/issues/3892


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to