Continuing my "crusade" on java/openjdk*, here's five patches to make java/openjdk13 build on 13.0-CURRENT. Stay tuned.
Created attachment 212591 [details]
Patch for src/hotspot/share/runtime/arguments.cpp
Patch 1 of 5. Turned pointer comparison into regular C-style string comparison.
Created attachment 212592 [details]
Patch for src/hotspot/share/c1/c1_LIR.cpp
Patch 2 of 5. Weird indentation makes Clang 10 highly suspicious. Solved by adding curly braces.
Created attachment 212593 [details]
Patch for src/hotspot/share/runtime/sharedRuntime.cpp
Patch 3 of 5. Clang 10 wants the extra parenthesis.
Created attachment 212594 [details]
Patch for src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
Patch 4 of 5. Weird indentation makes Clang 10 highly suspicious. Solved by adding curly braces.
Created attachment 212595 [details]
Patch for src/java.base/share/native/libfdlibm/e_asin.c
Patch 5 of 5. Added curly braces to the else branch.
@Trond Can you produce a single patch against the port, fixing the errors you've identified using `make makepatch`  please:
Same should be done for `java/openjdk14` too.
Created attachment 212820 [details]
Patch for Clang 10
Same comment here as for the openjdk11 and openjdk12 patches. I think the one for e_asin.c is incorrect.
Ignore my last comment, these are equivalent changes.
These have been included upstream in the 13.0.3 release (although some are done differently). Thanks!