Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1683

Support ARM as Processor.Type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.13.0
    • lang.*
    • None

    Description

      It would be nice to add a new enum value for ProcessorType for ARM processors (https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/arch/Processor.Type.html).
      Probably they return "arm" or "aarch64" in system property os.arch according to https://stackoverflow.com/questions/10846105/all-possible-values-os-arch-in-32bit-jre-and-in-64bit-jre but this requires further tests.

      This is especially useful to easily detect Apple Silicon.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: