Skip to content

Commit 39e7e79

Browse files
committed
fixup! kotlinx-coroutines-debug: Fix split-package with the -core module
1 parent cbeaf2e commit 39e7e79

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: integration-testing/jpmsTest/src/debugDynamicAgentJpmsTest/kotlin/DynamicAttachDebugJpmsTest.kt

+9-1
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,23 @@ import kotlin.test.*
1212
class DynamicAttachDebugJpmsTest {
1313

1414
/**
15-
* Using:
15+
* This test is disabled because:
16+
* Dynamic Attach with JPMS is not yet supported.
1617
*
18+
* Here is the state of experiments:
19+
* When launching this test with additional workarounds like
20+
* ```
1721
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy=com.sun.jna")
1822
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent=com.sun.jna")
23+
*```
1924
*
25+
* Then we see issues like
2026
*
27+
* ```
2128
* Caused by: java.lang.IllegalStateException: The Byte Buddy agent is not loaded or this method is not called via the system class loader
2229
* at kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent.Installer.getInstrumentation(Installer.java:61)
2330
* ... 54 more
31+
* ```
2432
*/
2533
@Ignore("shaded byte-buddy does not work with JPMS")
2634
@Test

0 commit comments

Comments
 (0)