increase java source level to 1.8

Java 8 is supported in art_standalone for quite some time now and recent
openJDK releases dropped Java 7 support
This commit is contained in:
Julian Winkler
2024-03-24 23:41:06 +01:00
parent 26a6b90b1c
commit c9ac8b162a
2 changed files with 3 additions and 3 deletions

View File

@@ -18,9 +18,9 @@ package android.util;
public interface AttributeSet {
public int getAttributeCount();
default String getAttributeNamespace (int index) {
/*default*/ String getAttributeNamespace (int index); /* {
return null;
}
}*/
public String getAttributeName(int index);
public String getAttributeValue(int index);
public String getAttributeValue(String namespace, String name);

View File

@@ -489,6 +489,6 @@ hax_jar = jar('hax', [
],
java_args: [
'-bootclasspath', bootclasspath,
'-source', '1.7', '-target', '1.7',
'-source', '1.8', '-target', '1.8',
'-h', join_paths(dir_base, 'src/api-impl-jni/generated_headers')
])