GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/22988
[SPARK-25984][CORE][SQL][STREAMING] Remove deprecated .newInstance(),
primitive box class constructor calls
## What changes were proposed in this pull request?
Deprecated in Java 11, replace Class.newInstance with
Class.getConstructor.getInstance, and primtive wrapper class constructors with
valueOf or equivalent
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-25984
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22988.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22988
----
commit 55ac7c09d251ecb0ca21eac3c2fcffafe53c2960
Author: Sean Owen <sean.owen@...>
Date: 2018-11-08T23:15:15Z
Deprecated in Java 11, replace Class.newInstance with
Class.getConstructor.getInstance, and primtive wrapper class constructors with
valueOf or equivalent
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]