Re: Log4j - Java 9

2017-06-18 Thread Ralph Goers
Yup. I just tried and the failsafe plugin failed in the parent pom. Ralph > On Jun 18, 2017, at 11:31 PM, Ralph Goers wrote: > > As I recall plugins blow up when I have tried that. > > Ralph > >> On Jun 18, 2017, at 9:35 PM, Gary Gregory wrote: >> >> OK, thanks. >> >> I just made an update

Re: Log4j - Java 9

2017-06-18 Thread Ralph Goers
As I recall plugins blow up when I have tried that. Ralph > On Jun 18, 2017, at 9:35 PM, Gary Gregory wrote: > > OK, thanks. > > I just made an updated to the POM to allow building to proceed a little > further with Java 9 as the JDK. Has anyone managed to run a whole build on > Java 9? > > G

Re: Log4j - Java 9

2017-06-18 Thread Gary Gregory
OK, thanks. I just made an updated to the POM to allow building to proceed a little further with Java 9 as the JDK. Has anyone managed to run a whole build on Java 9? Gary On Sun, Jun 18, 2017 at 5:24 PM, Ralph Goers wrote: > Log4j-perf, log4j-samples, log4j-distribution, log4j-core-its. > > R

Re: Log4j - Java 9

2017-06-18 Thread Ralph Goers
Log4j-perf, log4j-samples, log4j-distribution, log4j-core-its. Ralph > On Jun 18, 2017, at 4:27 PM, Gary Gregory wrote: > > Hi, > > What modules are not supposed to make it to Maven Central? > > Gary > > On Sun, Jun 18, 2017 at 12:39 PM, Ralph Goers > wrote: > >> I have modified the Java 9

Re: Log4j - Java 9

2017-06-18 Thread Ralph Goers
Thanks - I didn’t notice I had left that lying around. I have deleted it. Ralph > On Jun 18, 2017, at 5:12 PM, Gary Gregory wrote: > > I am confused by the layout: there is a log4j-api-java9 folder inside > the log4j-api-java9 folder? > > Gary > > On Sun, Jun 18, 2017 at 4:35 PM, Remko Popma

Re: Log4j - Java 9

2017-06-18 Thread Gary Gregory
I am confused by the layout: there is a log4j-api-java9 folder inside the log4j-api-java9 folder? Gary On Sun, Jun 18, 2017 at 4:35 PM, Remko Popma wrote: > Ralph, thank you!! > I just tried it and it works great. All I needed to do was tell IntelliJ > IDEA to use Java 9 for the log4j-api-java9

Re: Log4j - Java 9

2017-06-18 Thread Remko Popma
Ralph, thank you!! I just tried it and it works great. All I needed to do was tell IntelliJ IDEA to use Java 9 for the log4j-api-java9 module and it all just works in the IDE again. Great, thanks again! Remko On Mon, Jun 19, 2017 at 4:39 AM, Ralph Goers wrote: > I have modified the Java 9 sup

Re: Log4j - Java 9

2017-06-18 Thread Gary Gregory
Hi, What modules are not supposed to make it to Maven Central? Gary On Sun, Jun 18, 2017 at 12:39 PM, Ralph Goers wrote: > I have modified the Java 9 support yet again. I was having a problem with > a Maven plugin I am building where the Maven annotation processor was > failing because it was

Log4j - Java 9

2017-06-18 Thread Ralph Goers
I have modified the Java 9 support yet again. I was having a problem with a Maven plugin I am building where the Maven annotation processor was failing because it was finding a Java 9 class that it couldn’t read. To fix this I have separated the Java 9 support to its own module and then am overl

Re: [Log4j] Java 9

2017-05-31 Thread Gary Gregory
It all seems like a lot of FUD in retrospect. So the upshot of all of this drama is that one 5-line method was added and that some implementation choices are going to graduate to be in the specification? Gary On Wed, May 31, 2017 at 11:16 AM, Ralph Goers wrote: > Thanks, I hadn’t seen that as I

Re: [Log4j] Java 9

2017-05-31 Thread Ralph Goers
Thanks, I hadn’t seen that as I don’t follow that list. I had read the conference call notes for the JPMS work he discussed. They are at http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-May/thread.html .

[Log4j] Java 9

2017-05-31 Thread Gary Gregory
FYI: A 2 month delay proposed for #java9 http://mail.openjdk.java.net/pipermail/jdk9-dev/2017-May/005864.html #java Gary -- Java Persistence with Hibernate, Second Edition

Re: [log4j] Log4j Java 9 support has been added

2017-04-27 Thread Mikael Ståldal
OK, I can change JDK per module. Now I cannot build log4j-jmx-gui since the class com.sun.tools.jconsole.JConsolePlugin (used in our ClientGuiJConsolePlugin) doesn't seem to work with JDK 9. I tried to set that module to JDK 7, but it doesn't help. It is not good that we break a popular IDE like

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Ralph Goers
Sure you can. In the project settings select the module. You can change it there. Ralph > On Apr 26, 2017, at 7:35 AM, Mikael Ståldal wrote: > > I don't think you can specify different JDK:s for different modules with > IntelliJ. You can specify different source and target levels, but that > d

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Mikael Ståldal
I don't think you can specify different JDK:s for different modules with IntelliJ. You can specify different source and target levels, but that doesn't help here. Even though I set log4j-perf to 1.7, I get that error. On Wed, Apr 26, 2017 at 4:13 PM, Ralph Goers wrote: > You could compile the ap

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Ralph Goers
You could compile the api module with Java 9 and the rest with Java 7. Until the module-info.java files are added the api module is the only thing that has Java 9 code in it. Ralph > On Apr 26, 2017, at 6:55 AM, Mikael Ståldal wrote: > > I was able to get log4j-api to build by manually instal

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Mikael Ståldal
I was able to get log4j-api to build by manually installing JDK 9 and setting JDK 9 for that module. But now it fails in log4j-perf with the error below. Maybe related to https://bugs.openjdk.java.net/browse/JDK-8152842 Error:java: Annotation generator had thrown the exception. java.lang.NoClassD

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Apache
You could try using java 9 Sent from my iPad > On Apr 26, 2017, at 2:20 AM, Mikael Ståldal wrote: > > Now I cannot build the project in IntelliJ IDEA anymore. It complains that > lambda expressions are not supported in Java 7 in StackWalkerStackLocator. > > Any suggestions? > > On Fri, Apr 21

Re: [log4j] Log4j Java 9 support has been added

2017-04-26 Thread Mikael Ståldal
Now I cannot build the project in IntelliJ IDEA anymore. It complains that lambda expressions are not supported in Java 7 in StackWalkerStackLocator. Any suggestions? On Fri, Apr 21, 2017 at 10:59 AM, Mikael Ståldal wrote: > Should the vendor of the Java 7, 8 and 9 toolchains be "sun"? Shouldn'

Re: [log4j] Log4j Java 9 support has been added

2017-04-21 Thread Mikael Ståldal
Should the vendor of the Java 7, 8 and 9 toolchains be "sun"? Shouldn't it be "oracle"? On Fri, Apr 21, 2017 at 9:26 AM, Matt Sicker wrote: > 🎉🎉🎉 > > On 21 April 2017 at 01:41, Ralph Goers wrote: > > > I’ve pushed the support for Java 9 and Stackwalker. Java 9 is now > required > > to build Log

Re: [log4j] Log4j Java 9 support has been added

2017-04-21 Thread Matt Sicker
🎉🎉🎉 On 21 April 2017 at 01:41, Ralph Goers wrote: > I’ve pushed the support for Java 9 and Stackwalker. Java 9 is now required > to build Log4j in addition to Java 7. > > Ralph > -- Matt Sicker

[log4j] Log4j Java 9 support has been added

2017-04-20 Thread Ralph Goers
I’ve pushed the support for Java 9 and Stackwalker. Java 9 is now required to build Log4j in addition to Java 7. Ralph