5 Commits

Author SHA1 Message Date
Ole Ludwig 496acffd7d Fix removal of SneakyThrows and PreventNullAnalysis from bytecode
The SneakyThrowsRemover and PreventNullAnalysisRemover were leaving traces of the calls to lombok.Lombok.sneakyThrow and lombok.Lombok.preventNullAnalysis behind because they were using a constructor of ClassWriter which reuses the constant pool of the original class for performance optimizations.
So although the calls to sneakyThrows and preventNullAnalysis get removed from the methods there were still entries in the constant pool for them.
The constant pool will be regenerated with this change so that the entries for sneakyThrows and preventNullAnalysis gets removed.
2024-02-04 15:24:39 +01:00
Reinier Zwitserloot e0c5f30012 [#655] Added a test for the post compiler. It indeed fails in JDK8 now due to an ASM version that doesn't understand java 8 class files. 2014-04-02 00:59:08 +02:00
Roel Spilker b7ebd3a674 Fixed bug in reading long and double values 2012-01-23 21:15:13 +01:00
Roel Spilker 2683c24ee9 Fixed some bugs in reading the constant pool and added tests 2010-08-07 22:27:32 +02:00
Roel Spilker b14eef7eed Created utility class to casually inspect class files on the usage of classes, fields and methods 2010-08-05 23:46:34 +02:00