aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/turbine/bytecode/ClassWriter.java
AgeCommit message (Collapse)Author
2021-09-23Improve major version handlingLiam Miller-Cushon
Parse -source/-target/--release flags from provided javacopts, and use them to set the major version of the classfile outputs, instead of trying to use the lowest possible version that supported the features in the output. PiperOrigin-RevId: 398583014
2021-09-17Add class writing support for record and nest attributesLiam Miller-Cushon
* https://docs.oracle.com/javase/specs/jvms/se16/html/jvms-4.html#jvms-4.7.28 * https://docs.oracle.com/javase/specs/jvms/se16/html/jvms-4.html#jvms-4.7.29 * https://docs.oracle.com/javase/specs/jvms/se16/html/jvms-4.html#jvms-4.7.30 PiperOrigin-RevId: 397416507
2021-01-19Add private constructors for classes that aren't intended to be instantiatedLiam Miller-Cushon
PiperOrigin-RevId: 352623709
2019-06-15Fix lintcushon
MOE_MIGRATED_REVID=251930479
2018-01-19Class writing support for module attributescushon
MOE_MIGRATED_REVID=182568594
2017-08-24Fix a constant pool reading bugcushon
Handle > Short.MAX_VALUE constant pool entries by storing unsigned shorts as ints instead of signed shorts. I noticed this testing with the full implementation jar for a very large proto; apparently we've never hit this limit for ijar/hjars. MOE_MIGRATED_REVID=164506910
2016-10-25Don't crash when compiling java.lang.Objectcushon
MOE_MIGRATED_REVID=137196464
2016-10-07Constant fieldscushon
Initial constant field handling. Currently only literal values and references to other fields are supported, constant expression evaluation will be added later. Includes class file writing support for additional literal kinds. MOE_MIGRATED_REVID=135506016
2016-09-19Class file writingcushon
Constant field initializers, annotations, and a bunch of constant pool entry kinds are absent, we won't need them for a bit. MOE_MIGRATED_REVID=133635333