Update "sourcePath" and "availableStrata" implementations in mock objects
This commit is contained in:
@@ -63,12 +63,12 @@ public class MockLocation implements Location {
|
||||
|
||||
@Override
|
||||
public String sourcePath() throws AbsentInformationException {
|
||||
throw new UnsupportedOperationException();
|
||||
throw new AbsentInformationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String sourcePath(String s) throws AbsentInformationException {
|
||||
throw new UnsupportedOperationException();
|
||||
throw new AbsentInformationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -18,6 +18,7 @@ package org.jetbrains.kotlin.idea.debugger;
|
||||
|
||||
import com.sun.jdi.*;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -191,7 +192,7 @@ public class MockReferenceType implements ReferenceType {
|
||||
|
||||
@Override
|
||||
public List<String> availableStrata() {
|
||||
throw new UnsupportedOperationException();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user