Yang Jie created SPARK-45624:
--------------------------------

             Summary: Use `AccessibleObject#canAccess` instead of 
`AccessibleObject#isAccessible`
                 Key: SPARK-45624
                 URL: https://issues.apache.org/jira/browse/SPARK-45624
             Project: Spark
          Issue Type: Sub-task
          Components: Spark Core, Tests
    Affects Versions: 4.0.0
            Reporter: Yang Jie


{code:java}
[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]    {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to