Skip to content

Commit

Permalink
fixup! kotlinx-coroutines-debug: Fix split-package with the -core module
Browse files Browse the repository at this point in the history
  • Loading branch information
sellmair committed Oct 21, 2024
1 parent cbeaf2e commit 39e7e79
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,23 @@ import kotlin.test.*
class DynamicAttachDebugJpmsTest {

/**
* Using:
* This test is disabled because:
* Dynamic Attach with JPMS is not yet supported.
*
* Here is the state of experiments:
* When launching this test with additional workarounds like
* ```
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy=com.sun.jna")
* jvmArgs("--add-exports=kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent=com.sun.jna")
*```
*
* Then we see issues like
*
* ```
* Caused by: java.lang.IllegalStateException: The Byte Buddy agent is not loaded or this method is not called via the system class loader
* at kotlinx.coroutines.debug/kotlinx.coroutines.repackaged.net.bytebuddy.agent.Installer.getInstrumentation(Installer.java:61)
* ... 54 more
* ```
*/
@Ignore("shaded byte-buddy does not work with JPMS")
@Test
Expand Down

0 comments on commit 39e7e79

Please sign in to comment.