Skip to content

Release 2.6.7

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 08:29
· 5 commits to master since this release

Changelog

  • c73b180 Fix ConstPool.addAll not keeping order of passed collection
  • 4254753 Centralize attribute CP index 0 handling in stripping transformer
  • 295fae2 Fix stripping transformer not cleaning wide types at the end of the table without a padding space
  • 823233c Strip AnnotationDefaultAttribute on non-interface classes
  • e2e42bb Flesh out type annotation validation a bit more
  • 3863965 Validate LDC constants match opcode expected types
  • 2c08e5e Validate all referenced constant pool items referenced by BSM entries and ConstDynamics
  • aa92cd6 Strip CodeAttribute on native methods
  • 62af8af More accurate descriptor checks in stripping transformer per use case
  • f19d712 Validate annotation enum names
  • 66d31cf Validate annotation primitive annotation values match their constant type described by their tag
  • a597006 Fix cpEntryValidators not running in stripping transformer if not paired with a expectedTypeMasks entry
  • 3e814f0 Fix wrong shifts / end for CharacterRangeTableAttribute setters
  • 31111e0 Fix code exception type validation running even when index is 0 for catch all
  • 805f636 Fix code exception range checks
  • 3e9af78 Fix code length check not checking for bogus negative values
  • 84038ed Fix ConstantValueAttribute stripping keeping items not listed in JVMS as supported constant values
  • aadd6fc Add missing module attributes to allowed context lookup
  • e3c36ee Loosen catch type in attribute writer to handle unexpected attribute CpEntry types more gracefully
  • 62788a1 Fix descriptor parsing not marking a number of cases as ILLEGAL kind
  • 80c46b9 Narrower illegal annotation dropping in reader
  • fd36c0a Centralize module attribute checking by name, rather than check the attribute name prefix
  • 7cc58e4 Fix another overly aggressive bootstrap method drop case
  • 6489374 Fix annotations being dropped on record components
  • 3858aa9 Fix descriptor from(Class) utility yielding incorrect descriptors
  • 62af2ae Fix placeholder detection missing cases if its not directly in the given entry, but one or more links away
  • cebd6ea Fix internal hotspot compilation/source id attributes emitting wrong utf8 indices
  • 7ddef35 Fix wrong size of hotspot internal range table attribute
  • e85ef6a Fix a number of constant pool operations breaking on wide values
  • ed65299 Fix overly aggressive illegal stripping of BootstrapMethodAttribute
  • f82a4ee Fix ConstPool removeAll(Collection) adding instead of removing
  • 33c5a46 Fix ConstPool iterator.remove() drifting from expected index after certain removal patterns
  • baad3a7 Drop attributes when spec states 'must only have one of...'
  • 1f185aa Strip additional improper values of type annotations and LVT
  • f3be59d Strip malformed line number table entries
  • fc33b04 BSM validation improvements (condy support, ldc handle validation, bit more)
  • 1b1af8b Move illegal exception pruning earlier to catch cases where junk entries exist in single-insn methods.
  • 374100e Safely handle attributes throwing IllegalArgumentException
  • cffb89f Facilitate downgrading ACC_MODULE when field/methods/etc are present in a class.