Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299502

Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs

XMLWordPrintable

    • b05
    • generic
    • generic

        A DESCRIPTION OF THE PROBLEM :
        There are several code samples in the Java SE API documentation still using constructors of primitive wrapper classes, which are deprecated for removal. They should be replaced by valueOf factory methods or auto-boxing.

        Here's what I found:

        javax.xml.stream.XMLOutputFactory



              jlu Justin Lu
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: