Deprecated Class::newInstance does not emit illegal reflective access warning

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 9, 10
    • Component/s: core-libs
    • None

      If public classes in non-exported packages are instantiated with Class::newInstance then an illegal reflective access warning is not printed.

      This is an oversight in the original implementation, no issue with Constructor newInstance.

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: