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
parent cb4ee207e1
commit e8f6973938
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
}
}