Reverted 1763. It appears that we cannot rely on MethodHandle in a caller sensitive method like getCallerClass(int) due to a bug in JDK 7 (works fine in JDK 8, however). There may be a way to support this in JDK 8 environments only, though.
On 3 January 2017 at 22:34, Matt Sicker <[email protected]> wrote: > I'm working on creating an OpenJDK 7 Dockerfile to test this. If JDK 7 > can't use MethodHandle properly, then I'll have to revert LOG4J2-1763. > > On 3 January 2017 at 22:26, Matt Sicker <[email protected]> wrote: > >> Ok, this is weird. I don't get this error locally. Is this a bug in JDK 7 >> or something? >> >> On 3 January 2017 at 22:15, Apache Jenkins Server < >> [email protected]> wrote: >> >>> See <https://builds.apache.org/job/Log4j%202.x/changes> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> Matt Sicker <[email protected]> >> > > > > -- > Matt Sicker <[email protected]> > -- Matt Sicker <[email protected]>
