Kirill Rakhman
4964ee12a9
[CLI] Update CLI argument descriptions after review
2023-11-17 14:36:28 +00:00
Alexander Udalov
d4b5599373
Add JVM target bytecode version 21
...
Unfortunately, there are still problems with running JVM backend tests
with JVM target 21 because:
1) The D8 version that we use does not support bytecode version 21, and
updating to a newer version requires to change JVM target of compiler
tests to 11. This will be addressed separately when we enable JVM 21
in tests-different-jdk.
2) Some tests are failing because of KT-60659 and KT-60770:
- builtinStubMethods/bridgesForStubs/emptyStringListAdd.kt
- jdk/stream.kt
- regressions/kt528.kt
#KT-60662 Fixed
2023-08-03 08:43:22 +00:00
Alexander Udalov
37c776b233
Add JVM target bytecode version 20
...
#KT-57495 Fixed
2023-03-30 19:05:41 +00:00
Alexander Udalov
ba150ca370
Add JVM target bytecode version 19
...
Test data in `box/annotations/typeAnnotations` is changed because nested
classes in type annotations are rendered differently in JDK 19
(`Outer.Nested` instead of `Outer$Nested`).
#KT-54116 Fixed
2022-09-22 21:56:10 +02:00
Alexander Udalov
2e515f3945
Prohibit JVM target 1.6
...
But still compile stdlib, reflect, kotlin.test and scripting runtimes
with JVM target 1.6 to simplify migration from Kotlin 1.6 to 1.7.
#KT-45165 Fixed
2022-04-19 22:54:40 +02:00
Alexander Udalov
7952e8b28f
Add JVM target bytecode version 18
...
#KT-51309 Fixed
2022-02-14 21:21:57 +01:00
Alexander Udalov
473ed2e410
Fix JVM target and language version info in CLI and Gradle
2021-09-01 14:32:53 +02:00
Mikhail Glukhikh
d8417fd622
Introduce -opt-in stable compiler option instead of -Xopt-in
...
#KT-47099 Fixed
2021-07-12 21:26:18 +03:00
Xin Wang
b9209962cd
CLI: Add documentation for -J argument in kotlinc -help
2021-05-11 19:50:24 +02:00
Alexander Udalov
27174de891
Add JVM target bytecode version 16
...
#KT-45515 Fixed
2021-03-17 21:31:08 +01:00
Alexander Udalov
99b5e5a373
Deprecate JVM target 1.6
...
#KT-44650 Fixed
2021-02-03 12:50:52 +01:00
Alexander Udalov
d022bb0248
Switch default JVM target to 1.8
...
#KT-29405 Fixed
2021-02-01 11:54:04 +01:00
Alexander Udalov
48cd86b717
Add JVM target bytecode version 15
...
#KT-41916 Fixed
2020-10-19 14:47:21 +02:00
Alexander Udalov
e7937db8fa
Add link to the online docs to kotlinc's help
...
#KT-35111 Fixed
2020-09-02 16:45:56 +02:00
Alexander Udalov
94346e8a03
Add JVM target bytecode version 14
...
#KT-38413 Fixed
2020-04-28 13:00:23 +02:00
Ilya Chernikov
891914167a
Switch cli expression evaluation argument syntax to -expression/-e
...
#KT-35414 fixed
2020-01-21 17:42:48 +01:00
Ilya Chernikov
354be2b14f
[minor] Change expression evaluation cli argument to -Xexpression
2019-12-11 12:20:49 +01:00
Ilya Chernikov
531ff92791
Implement support for expression evaluation in jvm cli compiler
2019-12-02 16:46:54 +01:00
Alexander Udalov
df4ab4ed81
Add JVM bytecode target version 13
...
#KT-34119 Fixed
2019-10-29 12:54:24 +01:00
Alexander Udalov
f248e4a2ee
Update CLI test data and Gradle option descriptions
2019-10-25 19:26:20 +02:00
Alexander Udalov
d0b241b681
Minor, fix typo in -include-runtime argument help
...
#KT-34240 Fixed
2019-10-16 15:00:03 +02:00
Vitaliy.Tikhonov
f59e393e37
[CLI] add support running scripts in js compiler, extract common code with jvm part
2019-10-10 12:52:06 +03:00
Alexander Udalov
822b210e85
Minor, update argfile usage description
2019-04-19 12:55:23 +03:00
Alexander Udalov
518b03125c
Support JVM target versions up to 12
...
#KT-26240 Fixed
2019-03-07 11:42:31 +01:00
Alexander Udalov
c4be039cd1
Support argfiles in CLI with "@argfile"
...
#KT-24613 Fixed
2018-09-10 14:12:32 +03:00
Alexander Udalov
9311ea5d25
Support progressive mode via "-progressive"
...
#KT-25862 Fixed
2018-09-10 14:12:31 +03:00
Alexander Udalov
f9e195351a
Minor, rephrase usage help for -no-stdlib/-no-reflect compiler arguments
2018-02-01 19:38:30 +01:00
Alexander Udalov
cc9ebb26de
Minor, improve "-module-name" argument description
2017-12-13 11:49:58 +01:00
Sergey Igushkin
9d62bb3561
(minor) Reorder args help in test data after the property was renamed
2017-10-13 14:02:42 +03:00
Alexander Udalov
5cbcbe4a9c
Support -Werror CLI argument to treat warnings as errors
...
The option is named "warningsAsErrors" in the Gradle plugin
#KT-10563 Fixed
2017-10-11 19:23:46 +03:00
Alexey Sedunov
e6f1a3ccf3
Minor: Use Kotlin reflection in usage printing and update test data
2017-08-02 13:08:06 +03:00
Alexander Udalov
1e6850f198
CLI: improve error message if libraries are not found in Kotlin home
...
Also support the '-kotlin-home' argument in kotlinc-js
#KT-18859 Fixed
2017-07-28 14:16:46 +03:00
Alexander Udalov
55468735df
Rename -module argument to -Xbuild-file
...
To prevent confusion with Java 9 module-related arguments
#KT-18754 Fixed
2017-07-06 17:03:25 +03:00
Alexey Andreev
8a8fdf1968
Command-line tool for JS DCE
2017-05-26 18:20:17 +03:00
Mikhael Bogdanov
61da8be260
Generate parameters metadata for java 8 reflection
2016-11-14 14:27:08 +01:00
Alexander Udalov
167ab1f860
Introduce "-api-version" CLI option
...
The `@SinceKotlin("X.Y.Z")` annotation now hides a particular declaration from
resolution when the API version specified by the `-api-version` option is
_less_ than X.Y.Z. The comparison is performed as for versions in Maven:
MavenComparableVersion is in fact a copy of
org.apache.maven.artifact.versioning.ComparableVersion.
Also support "!API_VERSION" directive in diagnostic tests
#KT-14298 Fixed
2016-10-11 17:46:01 +03:00
Ilya Chernikov
46a7c706e1
Fixes and refactorings after review
2016-08-11 09:11:11 +02:00
Ilya Chernikov
e99697e3a2
Fix testdata for cli help tests
2016-08-11 09:11:11 +02:00
Alexander Udalov
0d26087040
CLI, Ant: add kotlin-reflect.jar to classpath by default, support "-no-reflect"
...
Note that now "-no-stdlib" implies "-no-reflect".
#KT-13237 Fixed
2016-08-09 11:24:24 +03:00
Ilya Gorbunov
7c5c4610e8
Rename -jdk compiler option to -jdk-home (jdkHome), add jdk path validation.
2016-06-23 22:47:45 +03:00
Ilya Gorbunov
644df89dc9
CLI: Allow to specify JDK for classpath building with '-jdk' compiler argument.
...
Maven: support jdk parameter linked to kotlin.compiler.jdk property.
Gradle: support jdk compiler option.
2016-06-23 22:46:07 +03:00
Alexander Udalov
da332d1a27
Validate "-jvm-target" value in CLI, improve message
2016-06-16 16:51:18 +03:00
Mikhael Bogdanov
3a8591a729
Support 'jvm-target' in CLI
2016-06-15 13:43:29 +03:00
Alexander Udalov
e1ba4480d7
Support "-language-version" CLI option for compatibility with older releases
...
Introduce LanguageFeatureSettings, instance of which should be injected by the
container and be accessible everywhere during the compilation (front-end and
back-end).
Parameters of LanguageFeatureSettings are unused in this commit, will be used
later
2016-05-26 22:15:39 +03:00
Alexander Udalov
13c54a2678
Drop external annotations support in build tools
...
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Michael Bogdanov
843241848f
Test fix
2015-09-07 16:28:55 +03:00
Yan Zhulanow
6ab2dc90f8
Fix cli help tests
2015-02-26 15:25:54 +03:00
Mikhail Mutcianko
bafaf9e46c
fix cli argument tests
2015-02-26 15:25:29 +03:00
Mikhail Mutcianko
79cbfcd750
fix compiler argument tests
2015-02-26 15:25:22 +03:00
Alexander Udalov
a83d9a7dce
CLI: introduce alias "-cp" for "-classpath"
2014-08-13 11:10:42 +04:00