Reinier Zwitserloot
c8f82f1255
[trivial] toss out an unused import
2024-05-17 01:18:38 +02:00
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
6723525c4a
[testing] unbroke 'ant test.javac8'.
2021-03-19 02:14:24 +01:00
Reinier Zwitserloot
f8c16ed8ac
[tests] fix tests on java6/7
2021-03-05 08:06:46 +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
45f9e9def1
Changed copyright notices
2011-11-07 22:04:40 +01:00
Reinier Zwitserloot
4ff39e5770
Added some forgotten copyright headers
2011-08-02 03:57:53 +02:00
Roel Spilker
4dfa3b7004
There's now 1 test suite that runs all tests, and 'ant eclipse' will make a launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
2011-07-18 21:11:37 +02:00
Reinier Zwitserloot
431543afcd
Documented the ClassFileMetaData utility.
2010-08-15 23:19:15 +02:00
Reinier Zwitserloot
4c23804837
Update to force reading of test sources as UTF-8, which they are.
2010-08-15 22:59:10 +02:00
Roel Spilker
e4845802a7
Updated buildscript to include tests and eclipse .project generation for the new bytecode tests in test/bytecode/src
2010-08-15 22:35:29 +02: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