Uploaded image for project: 'Clojure'
  1. CLJ-2383

Add classes that were introduced to java.lang in Java 7/8 into DEFAULT_IMPORTS

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: Release 1.9
    • Fix versions: None
    • Labels:
    • Approval:
      Prescreened
    • Patch:
      Code

      Description

      Now that Clojure 1.10 alpha-6 dropped support for Java <=7, it seems reasonable to add the classes that were newly introduced to the java.lang package in Java <=8, into Clojure's DEFAULT_IMPORTS.

      Here is the list of those classes I'm aware of:

      Introduced in Java 7:

      • AutoCloseable
      • ClassValue
      • ReflectiveOperationException
      • BootstrapMethodError
      • SafeVarargs

      Introduced in Java 8:

      • FunctionalInterface

      Prescreened by: Alex Miller

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sohta Shogo Ohta
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: