RFR: 8252180: [JEP 390] Deprecate wrapper class constructors for removal
    Mandy Chung 
    mchung at openjdk.java.net
       
    Sat Oct 10 01:53:13 UTC 2020
    
    
  
On Fri, 9 Oct 2020 23:38:11 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> The public constructors of the following classes have been deprecated since SE 9, and should be deprecated for removal
>> in anticipation of these classes becoming inline classes.
>> java.lang.Boolean, Byte, Short, Integer, Long, Float, Double, and Character.
>> 
>> Existing uses of the constructors are converted to use the .valueOf(xxx) methods in classes and tests.
>
> src/java.xml/share/classes/com/sun/org/apache/xml/internal/serialize/HTMLdtd.java line 441:
> 
>> 439:     {
>> 440:         if ( _byName.get( name ) == null ) {
>> 441:             _byName.put( name, new Integer( value ) );
> 
> Please make sure @JoeWang-Java reviews the XML changes; there are complications in some areas where the master code is
> upstream of the code in the JDK.
JAXP was subsumed by JSR 379 in Java SE 9.
-------------
PR: https://git.openjdk.java.net/valhalla/pull/221
    
    
More information about the valhalla-dev
mailing list