Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1783

Clean up use of Class.newInstance

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.13.1
    • Jena 3.14.0
    • None
    • None

    Description

      Class ::newIntance() is "deprecated" at Java9.

      The migration is to replace "class.newInstance()" with "class.getConstructor().newInstance()".

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m