File tree 1 file changed +9
-1
lines changed
integration-testing/jpmsTest/src/debugDynamicAgentJpmsTest/kotlin
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,23 @@ import kotlin.test.*
12
12
class DynamicAttachDebugJpmsTest {
13
13
14
14
/* *
15
- * Using:
15
+ * This test is disabled because:
16
+ * Dynamic Attach with JPMS is not yet supported.
16
17
*
18
+ * Here is the state of experiments:
19
+ * When launching this test with additional workarounds like
20
+ * ```
17
21
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy=com.sun.jna")
18
22
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent=com.sun.jna")
23
+ *```
19
24
*
25
+ * Then we see issues like
20
26
*
27
+ * ```
21
28
* Caused by: java.lang.IllegalStateException: The Byte Buddy agent is not loaded or this method is not called via the system class loader
22
29
* at kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent.Installer.getInstrumentation(Installer.java:61)
23
30
* ... 54 more
31
+ * ```
24
32
*/
25
33
@Ignore(" shaded byte-buddy does not work with JPMS" )
26
34
@Test
You can’t perform that action at this time.
0 commit comments