[ https://issues.apache.org/jira/browse/SPARK-30676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-30676. ---------------------------------- Fix Version/s: 3.0.0 Assignee: Maxim Gekk Resolution: Fixed Resolved by https://github.com/apache/spark/pull/27399 > Eliminate warnings from deprecated constructors of java.lang.Integer and > java.lang.Double > ----------------------------------------------------------------------------------------- > > Key: SPARK-30676 > URL: https://issues.apache.org/jira/browse/SPARK-30676 > Project: Spark > Issue Type: Sub-task > Components: Spark Core > Affects Versions: 3.0.0 > Reporter: Maxim Gekk > Assignee: Maxim Gekk > Priority: Minor > Fix For: 3.0.0 > > > 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: > {code} > 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. > {code} > The ticket aims to replace the constructors by the valueOf methods, or maybe > by other ways. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org