OpenJDK 11 can be built with Microsoft Visual Studio 2017, as per https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms. If it is build and/or tested on a Windows system, where only MSVC2017 is installed, several aot tests will fail.
This can be fixed with recent changes to src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/Linker.java which were brought by Grall updates JDK-8206992 and JDK-8218074.
These changes will add the ability of aot to recognize MSVC2017.
The failing tests are
compiler/aot/DeoptimizationTest.java
compiler/aot/RecompilationTest.java
compiler/aot/SharedUsageTest.java
compiler/aot/calls/fromAot/AotInvokeDynamic2AotTest.java
compiler/aot/calls/fromAot/AotInvokeDynamic2CompiledTest.java
compiler/aot/calls/fromAot/AotInvokeDynamic2InterpretedTest.java
compiler/aot/calls/fromAot/AotInvokeDynamic2NativeTest.java
compiler/aot/calls/fromAot/AotInvokeInterface2AotTest.java
compiler/aot/calls/fromAot/AotInvokeInterface2CompiledTest.java
compiler/aot/calls/fromAot/AotInvokeInterface2InterpretedTest.java
compiler/aot/calls/fromAot/AotInvokeInterface2NativeTest.java
compiler/aot/calls/fromAot/AotInvokeSpecial2AotTest.java
compiler/aot/calls/fromAot/AotInvokeSpecial2CompiledTest.java
compiler/aot/calls/fromAot/AotInvokeSpecial2InterpretedTest.java
compiler/aot/calls/fromAot/AotInvokeSpecial2NativeTest.java
compiler/aot/calls/fromAot/AotInvokeStatic2AotTest.java
compiler/aot/calls/fromAot/AotInvokeStatic2CompiledTest.java
compiler/aot/calls/fromAot/AotInvokeStatic2InterpretedTest.java
compiler/aot/calls/fromAot/AotInvokeStatic2NativeTest.java
compiler/aot/calls/fromAot/AotInvokeVirtual2AotTest.java
compiler/aot/calls/fromAot/AotInvokeVirtual2CompiledTest.java
compiler/aot/calls/fromAot/AotInvokeVirtual2InterpretedTest.java
compiler/aot/calls/fromAot/AotInvokeVirtual2NativeTest.java
compiler/aot/calls/fromCompiled/CompiledInvokeDynamic2AotTest.java
compiler/aot/calls/fromCompiled/CompiledInvokeInterface2AotTest.java
compiler/aot/calls/fromCompiled/CompiledInvokeSpecial2AotTest.java
compiler/aot/calls/fromCompiled/CompiledInvokeStatic2AotTest.java
compiler/aot/calls/fromCompiled/CompiledInvokeVirtual2AotTest.java
compiler/aot/calls/fromInterpreted/InterpretedInvokeDynamic2AotTest.java
compiler/aot/calls/fromInterpreted/InterpretedInvokeInterface2AotTest.java
compiler/aot/calls/fromInterpreted/InterpretedInvokeSpecial2AotTest.java
compiler/aot/calls/fromInterpreted/InterpretedInvokeStatic2AotTest.java
compiler/aot/calls/fromInterpreted/InterpretedInvokeVirtual2AotTest.java
compiler/aot/calls/fromNative/NativeInvokeSpecial2AotTest.java
compiler/aot/calls/fromNative/NativeInvokeStatic2AotTest.java
compiler/aot/calls/fromNative/NativeInvokeVirtual2AotTest.java
compiler/aot/cli/DisabledAOTWithLibraryTest.java
compiler/aot/cli/MultipleAOTLibraryTest.java
compiler/aot/cli/SingleAOTLibraryTest.java
compiler/aot/cli/SingleAOTOptionTest.java
compiler/aot/cli/jaotc/AtFileTest.java
compiler/aot/cli/jaotc/CompileClassTest.java
compiler/aot/cli/jaotc/CompileClassWithDebugTest.java
compiler/aot/cli/jaotc/CompileDirectoryTest.java
compiler/aot/cli/jaotc/CompileJarTest.java
compiler/aot/cli/jaotc/CompileModuleTest.java
compiler/aot/cli/jaotc/IgnoreErrorsTest.java
compiler/aot/cli/jaotc/ListOptionTest.java
compiler/aot/cli/jaotc/ListOptionWrongFileTest.java
compiler/aot/fingerprint/SelfChanged.java
compiler/aot/fingerprint/SelfChangedCDS.java
compiler/aot/fingerprint/SuperChanged.java
compiler/aot/verification/ClassAndLibraryNotMatchTest.java
compiler/aot/verification/vmflags/NotTrackedFlagTest.java
compiler/aot/verification/vmflags/TrackedFlagTest.java