-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
None
-
aix
When called like this: "grep -Fx <patternlist>", AIX grep is unable to handle empty patterns correctly; it fails to match any pattern which directly precedes the empty pattern.
8168503 added a line break in the definition of a variable:
VALID_JVM_FEATURES="compiler1 compiler2 zero shark minimal dtrace jvmti jvmci \
- graal fprof vm-structs jni-check services management all-gcs nmt cds static-build aot"
+ graal fprof vm-structs jni-check services management all-gcs nmt cds \
+ static-build link-time-opt aot"
So now, "cds" is followed by multiple spaces, which are later expanded to multiple newlines, and grep is now unable to match "cds". This causes the HOTSPOT_VALIDATE_JVM_FEATURES function to fail with "Invalid JVM feature: cds".
The error would also happened before
- relates to
-
JDK-8172712 configure should check that grep handles empty pattern correctly
- Resolved
-
JDK-8168503 JEP 297: Unified arm32/arm64 Port
- Closed