Skip to content

Commit d14f4a2

Browse files
authored
[tests] try to use jdk 11 for device tests (#6033)
Since 5da92bd, 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 API 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.
1 parent 0f7a0cd commit d14f4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ stages:
10371037
parameters:
10381038
job_name: mac_msbuilddevice_tests
10391039
job_suffix: Legacy
1040-
jdkTestFolder: $(XA.Jdk8.Folder)
1040+
jdkTestFolder: $(XA.Jdk11.Folder)
10411041

10421042
# Check - "Xamarin.Android (MSBuild Emulator Tests macOS - One .NET)"
10431043
- template: yaml-templates/run-msbuild-device-tests.yaml

0 commit comments

Comments
 (0)