On 28 Nov 2014, at 10:32, Igor Fedorenko wrote: > Out of curiosity, why do you want to get exactly the same bytecode? Does > the code compiled with java8 not work under java7?
Mostly - it's due to method signature resolution. For instance in the JDK 5 -> 6 change, some functions that used to take `String` were changed to take `CharSequence` - when compiling against the JDK6 classes the byte code binds against `CharSequence`, thus when running under JDK5 you get method-not-found exceptions. -- Mark Derricutt http://www.theoryinpractice.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt
signature.asc
Description: OpenPGP digital signature