This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 283d37ea6 Remove assertion that assumes an x86 architecture.
283d37ea6 is described below
commit 283d37ea683645b8a6a5ec368b0b917fd12e7170
Author: Alex Herbert <[email protected]>
AuthorDate: Sun Apr 23 09:07:28 2023 +0100
Remove assertion that assumes an x86 architecture.
This fails the build on alternative architectures, e.g. aarch64 (ARM
architecture family).
---
src/test/java/org/apache/commons/lang3/ArchUtilsTest.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/lang3/ArchUtilsTest.java
b/src/test/java/org/apache/commons/lang3/ArchUtilsTest.java
index 342e3870b..c88742391 100644
--- a/src/test/java/org/apache/commons/lang3/ArchUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/ArchUtilsTest.java
@@ -125,7 +125,6 @@ public class ArchUtilsTest extends AbstractLangTest {
assertNull(ArchUtils.getProcessor(null));
final Processor processor = ArchUtils.getProcessor();
- assertTrue(processor.isX86());
assertNotEquals(ObjectUtils.identityToString(processor),
processor.toString());
}