Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Project Infra
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: