Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45315 Drop JDK 8/11 and make JDK 17 by default
  3. SPARK-45624

Use `AccessibleObject#canAccess` instead of `AccessibleObject#isAccessible`

    XMLWordPrintableJSON

Details

    Description

      [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/test/scala/org/apache/spark/util/UtilsSuite.scala:258:15: method isAccessible in class AccessibleObject is deprecated (since 9)
      [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.util.UtilsSuite.getFieldValue, origin=java.lang.reflect.AccessibleObject.isAccessible, version=9
      [warn]     if (field.isAccessible()) {
      [warn]    

      Attachments

        Issue Links

          Activity

            People

              LuciferYang Yang Jie
              LuciferYang Yang Jie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: