Skip to content

Commit

Permalink
Merge pull request #176 from Drill4J/feature/java-21-class-file-versi…
Browse files Browse the repository at this point in the history
…on-65-support

Feature/java 21 class file version 65 support
  • Loading branch information
RomanDavlyatshin authored Sep 27, 2024
2 parents da4ef64 + 03f6fe3 commit 1e913b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bcelVersion = 6.6.0
kotlinPoetVersion = 1.9.0
javassistVersion = 3.28.0-GA
uuidVersion = 0.3.1
jacocoVersion = 0.8.7
jacocoVersion = 0.8.12
transmittableThreadLocalVersion = 2.12.2
shadowPluginVersion = 6.1.0
logbackVersion = 1.2.12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class ClassPathScanner(
private val scannedBuffer = mutableSetOf<ClassSource>()

private val getOrLogFail: Result<Int>.() -> Int = {
this.onFailure { logger.warn { "ClassPathScanner: error handling class file: ${it.message}" } }
this.onFailure {
logger.warn { "ClassPathScanner: error handling class file: ${it.message} ${it.stackTraceToString()}" }
}
this.getOrDefault(0)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class DrillInstrumenter(

writer.toByteArray()
} catch (e: Exception) {
logger.error { "Error while instrumenting $className: ${e.message}" }
logger.error { "Error instrumenting $className: ${e.message} ${e.stackTraceToString()}" }
null
}
}
Expand Down

0 comments on commit 1e913b3

Please sign in to comment.