RFR: JDK-8267394: Do not rely on object identity for empty valid Content instance
    Hannes Wallnöfer 
    hannesw at openjdk.java.net
       
    Mon May 31 08:55:20 UTC 2021
    
    
  
On Fri, 28 May 2021 15:42:06 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> This is questionable and probably wrong.
> 
> The use of the identity check was specifically to differentiate between a sentinel value (EMPTY) and values which just happen to be empty.
The purpose of this change is to implement this same behavior with better naming and documentation, and without requiring the identity check.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4130
    
    
More information about the javadoc-dev
mailing list