I am using Microsoft hosted agents but I still see the warning message
“The version of Java (1.8.0_265) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11”.
Note : My code is still on Java 8 which can be ignored as per the document provided.