Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • Project Infra
    • None

    Description

      We should add a regex rule to Scalastyle which prohibits the use of Class.forName. We should not use Class.forName directly because this will load classes from the system's default class loader rather than the appropriate context loader. Instead, we should be calling Utils.classForName instead.

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              joshrosen Josh Rosen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: