Skip to content

Commit d04633f

Browse files
committed
TS-45056 Teamscale finding fixed
1 parent e33a39a commit d04633f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system-tests/reload-detection-test/src/test/kotlin/com/teamscale/systemtest/ReloadDetectionSystemTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class ReloadDetectionSystemTest {
6565
modifiedBytes[markerIndex + marker.size - 1] = 'x'.code.toByte()
6666

6767
val classLoader = object : ClassLoader(ClassLoader.getSystemClassLoader()) {
68+
/** Defines the modified class bytecode in this class loader, triggering a class reload. */
6869
fun defineModifiedClass(): Class<*> {
6970
return defineClass("systemundertest.SystemUnderTest", modifiedBytes, 0, modifiedBytes.size)
7071
}

0 commit comments

Comments
 (0)