Skip to content

Commit 00d86c5

Browse files
committed
Merge branch 'master' into develop
2 parents 666ea6e + 64f2b20 commit 00d86c5

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ to Gradle (in Preferences -> Build, Execution, Deployment -> Build Tools -> Grad
161161
### Requirements
162162

163163
* JDK >= 1.8 referred to by the `JAVA_HOME` environment variable.
164-
* JDK 1.6 referred to by the `JDK_16` environment variable.
164+
* JDK 1.6 referred to by the `JDK_16` environment variable. It is okay to have `JDK_16` pointing to `JAVA_HOME` for external contributions.
165165

166166
## Contributions and releases
167167

common/kotlinx-coroutines-core-common/src/channels/Channel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public interface ReceiveChannel<out E> {
221221
* [isClosedForReceive] without cause. The [select] invocation fails with
222222
* the original [close][SendChannel.close] cause exception if the channel has _failed_.
223223
*
224-
* **Note: This is an experimental api.** This function may be replaced with a better on in the future.
224+
* **Note: This is an experimental api.** This function may be replaced with a better one in the future.
225225
*/
226226
@ExperimentalCoroutinesApi
227227
public val onReceiveOrNull: SelectClause1<E?>

core/kotlinx-coroutines-core/test/guide/example-exceptions-04.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package kotlinx.coroutines.guide.exceptions04
88
import kotlinx.coroutines.*
99

1010
fun main() = runBlocking {
11-
//sampleEnd
11+
//sampleStart
1212
val handler = CoroutineExceptionHandler { _, exception ->
1313
println("Caught $exception")
1414
}

docs/basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Instead of launching coroutines in the [GlobalScope], just like we usually do wi
220220
we can launch coroutines in the specific scope of the operation we are performing.
221221

222222
In our example, we have `main` function that is turned into a coroutine using [runBlocking] coroutine builder.
223-
Every coroutine builder, including `runBlocking`, adds an instance of [CoroutineScope] to the scope its code block.
223+
Every coroutine builder, including `runBlocking`, adds an instance of [CoroutineScope] to the scope of its code block.
224224
We can launch coroutines in this scope without having to `join` them explicitly, because
225225
an outer coroutine (`runBlocking` in our example) does not complete until all the coroutines launched
226226
in its scope complete. Thus, we can make our example simpler:

docs/exception-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ when its child completes with exception despite the installed handler.
206206
import kotlinx.coroutines.*
207207

208208
fun main() = runBlocking {
209-
//sampleEnd
209+
//sampleStart
210210
val handler = CoroutineExceptionHandler { _, exception ->
211211
println("Caught $exception")
212212
}

integration/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Module name below corresponds to the artifact name in Maven/Gradle.
88
* [kotlinx-coroutines-jdk8](kotlinx-coroutines-jdk8/README.md) -- integration with JDK8 `CompletableFuture` (Android API level 24).
99
* [kotlinx-coroutines-guava](kotlinx-coroutines-guava/README.md) -- integration with Guava [ListenableFuture](https://github.com/google/guava/wiki/ListenableFutureExplained).
1010
* [kotlinx-coroutines-slf4j](kotlinx-coroutines-slf4j/README.md) -- integration with SLF4J [MDC](https://logback.qos.ch/manual/mdc.html).
11-
* [kotlinx-coroutines-play-services](kotlinx-coroutines-play-services) -- integration with Google Play Services [Tasks API](https://developers.google.com/android/guides/tasks). |
11+
* [kotlinx-coroutines-play-services](kotlinx-coroutines-play-services) -- integration with Google Play Services [Tasks API](https://developers.google.com/android/guides/tasks).
1212

1313
## Contributing
1414

integration/kotlinx-coroutines-jdk8/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fun combineImagesAsync(name1: String, name2: String): CompletableFuture<Image> =
3939
Note, that this module should be used only for integration with existing Java APIs based on `CompletableFuture`.
4040
Writing pure-Kotlin code that uses `CompletableFuture` is highly not recommended, since the resulting APIs based
4141
on the futures are quite error-prone. See the discussion on
42-
[Asynchronous Programming Styles](https://github.com/Kotlin/kotlin-coroutines/blob/master/kotlin-coroutines-informal.md#asynchronous-programming-styles)
42+
[Asynchronous Programming Styles](https://github.com/Kotlin/KEEP/blob/master/proposals/coroutines.md#asynchronous-programming-styles)
4343
for details on general problems pertaining to any future-based API and keep in mind that `CompletableFuture` exposes
4444
a _blocking_ method
4545
[get](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html#get--)

0 commit comments

Comments
 (0)