fix: give ClassWriter a ClassReader for symtable

removed SafeClassWriter as it was unused
This commit is contained in:
Lucaskyy
2022-03-23 23:01:13 +01:00
committed by oSumAtrIX
parent 8161ce4fa6
commit 41749ba829
3 changed files with 11 additions and 150 deletions

View File

@@ -7,6 +7,6 @@ internal class ReaderTest {
@Test
fun `read jar containing multiple classes`() {
val testData = PatcherTest::class.java.getResourceAsStream("/test2.jar")!!
Patcher(testData, ByteArrayOutputStream(), PatcherTest.testSignatures) // reusing test sigs from PatcherTest
Patcher(testData, ByteArrayOutputStream(), PatcherTest.testSignatures).save() // reusing test sigs from PatcherTest
}
}