aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/compile_java.py
diff options
context:
space:
mode:
authortarasov-dmtr <tarasov-dmtr@yandex-team.com>2024-12-20 05:28:24 +0300
committertarasov-dmtr <tarasov-dmtr@yandex-team.com>2024-12-20 05:46:37 +0300
commit31230451a2efcdb40f6d994220fee18169a18cef (patch)
tree78f3dda65205e878686bd126a3a15099280fcc1c /build/scripts/compile_java.py
parentda67de050956af3157a2f058c4db9540394d937f (diff)
downloadydb-31230451a2efcdb40f6d994220fee18169a18cef.tar.gz
Fix warn from Kotlin compiler
Значение взял отсюда: https://github.com/JetBrains/intellij-community/blob/master/platform/util/resources/misc/registry.properties#L1018 commit_hash:b23bf332bd926ed39d7e6b59501782e8a596978d
Diffstat (limited to 'build/scripts/compile_java.py')
-rw-r--r--build/scripts/compile_java.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/scripts/compile_java.py b/build/scripts/compile_java.py
index a28d737195..995ce625db 100644
--- a/build/scripts/compile_java.py
+++ b/build/scripts/compile_java.py
@@ -88,6 +88,7 @@ def main():
[
opts.java_bin,
'-Didea.max.content.load.filesize=30720',
+ '-Djava.correct.class.type.by.place.resolve.scope=true',
'-jar',
opts.kotlin_compiler,
'-classpath',