Skip to content

Releases: cojen/Maker

Version 2.6.5

23 Mar 21:34
Compare
Choose a tag to compare
  • Fields and methods should be referenced by the class they're accessed from, and not the class they're defined in. This change affects linkage rules for classes which aren't immediately loaded, and it's now consistent with the Java compiler.

Version 2.6.4

23 Feb 20:15
Compare
Choose a tag to compare
  • Removed the condy workaround code. If using the condy feature, be sure use JDK 19 or above to ensure that HotSpot fully compiles code which uses it. See bug: JDK-8270928

Version 2.6.3

23 Jan 16:42
Compare
Choose a tag to compare
  • Variables which are used once are never eliminated when they have a name.
  • Reduce the number of local variables by using a swap against pushes of constants and static fields.

Version 2.6.2

23 Dec 15:29
Compare
Choose a tag to compare
  • Fixed how the debug option allows broken class files to be written.
  • Reduce the number of local variables used by using a swap in even more cases, not just stores into instance fields.
  • Minor performance optimizations.

Version 2.6.1

24 Nov 00:18
Compare
Choose a tag to compare
  • Added methods to obtain the return type and parameter types of a method being made.
  • Added a method to make a class into a Lookup with an explicit name.
  • Reduce the number of local variables used when performing basic stores into instance fields.

Version 2.6.0

23 Oct 14:39
Compare
Choose a tag to compare
  • Added a Type interface for explicitly representing types.
  • Added support for type use annotations. They're not supported when the target is in the body of a method, because they're not accessible via reflection anyhow. They're not supported for generic types either, because generic types aren't currently supported at all.

Version 2.5.11

07 Sep 18:00
Compare
Choose a tag to compare
  • Added a variable decrement method.
  • Avoid generating a conversion instruction when comparing against a constant primitive value.
  • Reduce constant pool pollution when the StackMapTable attribute isn't needed.

Version 2.4.8

28 Jun 14:54
Compare
Choose a tag to compare
  • Added a switch method which supports string cases.
  • Use Boolean.TRUE/FALSE when setting an object variable to a boolean constant instead of calling Boolean.valueOf(true/false).