Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
Description
The constructors of java.lang.Integer and java.lang.Double has been deprecated already, see https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html. The following warnings are printed while compiling Spark:
1. RDD.scala:240: constructor Integer in class Integer is deprecated: see corresponding Javadoc for more information. 2. MutableProjectionSuite.scala:63: constructor Integer in class Integer is deprecated: see corresponding Javadoc for more information. 3. UDFSuite.scala:446: constructor Integer in class Integer is deprecated: see corresponding Javadoc for more information. 4. UDFSuite.scala:451: constructor Double in class Double is deprecated: see corresponding Javadoc for more information. 5. HiveUserDefinedTypeSuite.scala:71: constructor Double in class Double is deprecated: see corresponding Javadoc for more information.
The ticket aims to replace the constructors by the valueOf methods, or maybe by other ways.
Attachments
Attachments
Issue Links
- links to