Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283287

ClassLoader.c cleanups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • core-libs
    • None

      I noticed some older-style code in ClassLoader.c while working on another issue. It's starting to feel like spring where I am, and I'd like to do a little tidying.

      Suggested changes:

      - Alphabetize includes
      - Change instances of 'if (ptr == 0)' to 'if (ptr == NULL)'
      - Change instances of 'return 0' to 'return NULL'
      - Wrap the bodies of if statements in curly-braces.

            tsteele Tyler Steele
            tsteele Tyler Steele
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: