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 <boa...@gmail.com> 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 <boa...@gmail.com> 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 < >> jenk...@builds.apache.org> wrote: >> >>> See <https://builds.apache.org/job/Log4j%202.x/changes> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org >>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org >>> >>> >> >> >> -- >> Matt Sicker <boa...@gmail.com> >> > > > > -- > Matt Sicker <boa...@gmail.com> > -- Matt Sicker <boa...@gmail.com>