Drop support for JVM 1.4 in debugger
Kotlin can't run on such JVM anyway.
This commit is contained in:
@@ -261,12 +261,8 @@ class KotlinPositionManager(private val myDebugProcess: DebugProcess) : MultiReq
|
|||||||
|
|
||||||
val line = position.line + 1
|
val line = position.line + 1
|
||||||
|
|
||||||
val locations = if (myDebugProcess.virtualMachineProxy.versionHigher("1.4"))
|
val locations = type.locationsOfLine(KOTLIN_STRATA_NAME, null, line).filter { it.sourceName(KOTLIN_STRATA_NAME) == position.file.name }
|
||||||
type.locationsOfLine(KOTLIN_STRATA_NAME, null, line).filter { it.sourceName(KOTLIN_STRATA_NAME) == position.file.name }
|
if (locations.isEmpty()) {
|
||||||
else
|
|
||||||
type.locationsOfLine(line)
|
|
||||||
|
|
||||||
if (locations == null || locations.isEmpty()) {
|
|
||||||
throw NoDataException.INSTANCE
|
throw NoDataException.INSTANCE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user