Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3584

Incorrect lazy initialization of DefaultScheduler.INSTANCE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Here is related code:

          public static DefaultScheduler getInstance() {
              if (INSTANCE == null) {
                  INSTANCE = createInstance();
      

      The check against may not be effective.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: