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

RISC-V support for Processor and ArchUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.12.0, 3.13.0
    • 3.14.0
    • lang.*
    • None

    Description

      RISC-V architecture is not supported in `org.apache.commons.lang3.arch.Processor` and `org.apache.commons.lang3.ArchUtils`.

      It should be easy to implement and I would like to contribute a PR for this.

       

      Test failure on riscv64 linux:

      {}[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.029 s <<< FAILURE! - in org.apache.commons.lang3.ArchUtilsTest
      [ERROR] org.apache.commons.lang3.ArchUtilsTest.testGetProcessor  Time elapsed: 0.004 s  <<< ERROR!
      java.lang.NullPointerException: Cannot invoke "org.apache.commons.lang3.arch.Processor.toString()" because "processor" is null

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kxxt Levi Zim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: