Skip to content

Commit

Permalink
Temporarily remove jdk 16 and 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Raibaz committed Jan 12, 2022
1 parent 5745150 commit 788b183
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/gradle.yml
Expand Up @@ -10,14 +10,9 @@ jobs:
tests:
strategy:
matrix:
java-version: [11, 12, 13, 14, 15, 16, 17]
java-version: [11, 12, 13, 14, 15]
kotlin-version: [1.4.32, 1.5.31, 1.6.0]
kotlin-ir-enabled: [true, false]
exclude:
- kotlin-version: 1.4.32
java-version: 16
- kotlin-version: 1.4.32
java-version: 17
# in case one JDK fails, we still want to see results from others
fail-fast: false
runs-on: ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions mockk/jvm/src/main/kotlin/io/mockk/impl/InternalPlatform.kt
Expand Up @@ -103,10 +103,6 @@ actual object InternalPlatform {
actual fun <T : Any> copyFields(to: T, from: T) {
fun copy(to: Any, from: Any, cls: Class<*>) {
for (field in cls.declaredFields) {
if (Modifier.isTransient(field.modifiers)) {
continue
}

if (Modifier.isStatic(field.modifiers)) {
continue
}
Expand Down

0 comments on commit 788b183

Please sign in to comment.