We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef7585 commit 803f241Copy full SHA for 803f241
luceedebug/src/main/java/luceedebug/coreinject/LuceeVm.java
@@ -958,7 +958,10 @@ private void continue_(ThreadReference threadRef) {
958
public void continueAll() {
959
// avoid concurrent modification exceptions, calling continue_ mutates `suspendedThreads`
960
Arrays
961
- .asList(suspendedThreads.toArray(size -> new Long[size]))
+ // TODO: Set<T>.toArray(sz -> new T[sz]) is not typesafe, changing the type of Set<T>
962
+ // doesn't flow through into the toArray call. Is there a more idiomatic, typesafe way to do
963
+ // this?
964
+ .asList(suspendedThreads.toArray(size -> new JdwpThreadID[size]))
965
.forEach(jdwpThreadID -> continue_(jdwpThreadID));
966
}
967
0 commit comments