This reverts commit f3c4945019.
Revert "Always check isFMLDeobfuscated for null status."
This reverts commit d12d3f271c.
Revert "Perform nasty filter switch to gurarantee that we'll switch into INIT."
This reverts commit bdda81fb26.
Also
- Fixed formatting error
- Fixed changing of classinfo's on reload validation
- Changed agent to return some invalid bytecode on error, to clearly signal an error occured
To support lambda expression the mixin transformer will transform invoke dynamic instructions in the same way as it transforms other invoke instructions as well as transforming their static arguments. Invoke dynamic static arguments can be any constant loadable by ldc instructions and this includes MethodHandles, so it transforms the MethodHandle as if it was a normal invoke instruction.
Note any mixin class that has an invokedynamic instruction in it will now have the target class, class file version set to 52(java 8).
While @bloodmc 's changes did fix dev and prod time, it doesn't work with
the IVY launcher built into the Sponge mod. This works around it by
manipulating logger levels and adding a filter to hide what we are doing.
@Mumfrey you'll definately want to get rid of this ASAP...
Signed-off-by: Chris Sanders <[email protected]>
Separates the previously rather polluted "may be starting under FML"
logic into a separate module introduces the concept of "launch agents"
which will (going forward) contain any environment-specific launch tasks
which need to be performed by the tweaker.
This commit *also* fixes issues when bootstrapping mixin by adding the
tweaker directly to the launch configuration in both production and
development. It also effectively provides a mechanism whereby the first
software agent to bootstrap mixin as a subsystem (via the tweaker) will
then co-operatively load all others.