Skip to content

Conversation

@srowen
Copy link
Member

@srowen srowen commented Nov 8, 2018

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.

…uctor.getInstance, and primtive wrapper class constructors with valueOf or equivalent
@SparkQA
Copy link

SparkQA commented Nov 9, 2018

Test build #98627 has finished for PR 22988 at commit 55ac7c0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member Author

srowen commented Nov 10, 2018

Merged to master

@asfgit asfgit closed this in 2d085c1 Nov 10, 2018
@srowen srowen deleted the SPARK-25984 branch November 14, 2018 20:55
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
… 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.

Closes apache#22988 from srowen/SPARK-25984.

Authored-by: Sean Owen <[email protected]>
Signed-off-by: Sean Owen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants