From 3f35fefa8cd289391400ebb70bccd568067d379d Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Mon, 21 Jun 2021 11:30:00 +0100 Subject: [PATCH] [tests] try to use jdk 11 for device tests Since 5da92bde we are seeing the on device tests fail with the following error. error JAVAC0000: java.lang.AssertionError: annotationType() : unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl) This suggests that AP 31 requires JDK 11 in order to compile. So lets bump the version which we use for the on device tests for now, until we can figure out what do actually do. --- build-tools/automation/azure-pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 60aa48fa79b..7923970aa14 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -1037,7 +1037,7 @@ stages: parameters: job_name: mac_msbuilddevice_tests job_suffix: Legacy - jdkTestFolder: $(XA.Jdk8.Folder) + jdkTestFolder: $(XA.Jdk11.Folder) # Check - "Xamarin.Android (MSBuild Emulator Tests macOS - One .NET)" - template: yaml-templates/run-msbuild-device-tests.yaml