Failed to build aosp
[ 0% 18/12890] //libcore/mmodules/core_platform_api:art.module.platform.api.stubs javac [common]
FAILED: out/soong/.intermediates/libcore/mmodules/core_platform_api/art.module.platform.api.stubs/android_common/javac/art.module.platform.api.stubs.jar
out/soong/.intermediates/libcore/mmodules/core_platform_api/art.module.platform.api.stubs/android_common/javac/srcjars/java/lang/Double.java:106: error: self-reference in initializer
public static final double NaN = NaN;
^
out/soong/.intermediates/libcore/mmodules/core_platform_api/art.module.platform.api.stubs/android_common/javac/srcjars/java/lang/Float.java:108: error: cannot find symbol
public static final float NaN = NaNf;
^
symbol: variable NaNf
location: class Float
2 errors
In every source file Double.java file NaN = 0.0d / 0.0; After I am trying to modify theese files, build regenerate them with same error. Where is this files locate in sources and how to fix theese errors? Thanks for answers.