Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27571

Spark 3.0 build warnings: reflectiveCalls edition

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Examples, Spark Core, YARN
    • None

    Description

      We have a few places in the code where scala.lang.reflectiveCalls is imported to avoid warnings about, well, reflective calls in Scala. This usually comes up in tests where an anonymous inner class has been defined with additional methods, which actually can't be accessed directly without reflection. This is a little undesirable and easy enough to avoid.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            srowen Sean R. Owen
            srowen Sean R. Owen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment