Re: Garbage Free Precise Time

2021-04-07 Thread Ralph Goers
I have modified the test to allow -DusePreciseClock=true to be passed in. When I set it to true and run it in JDK 16 the test passes! However, I tried 3 versions of JDK 11 and it failed in all of them. Ralph > On Apr 2, 2021, at 2:54 PM, Ralph Goers wrote: > > I just tried adding logic to ca

Re: [logging-log4j2] branch release-2.x updated: LOG4J2-3004 Add plugin support to JsonTemplateLayout. (#476)

2021-04-07 Thread Matt Sicker
Sounds like annotation processing has managed to get disabled in your IDE. IDEs tend to disable that by default due to the ability to run arbitrary code in annotation processors (but now IntelliJ has a "trusted project" feature for its own metadata, so maybe that's changed). Without the processor,

Re: JsonTemplateLayout failures after Java 11 upgrade (Was: Running "master" tests in IntelliJ IDEA after Java 11 upgrade)

2021-04-07 Thread Ralph Goers
I will check the manifest. The automatic module name doesn’t matter for now as I plan to convert everything that can and should be into “real” JPMS modules before 3.0 is released. Ralph > On Apr 7, 2021, at 12:06 AM, Volkan Yazıcı wrote: > > Thanks so much for putting time into this Ralph, I

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-07 Thread Matt Sicker
See also https://lists.apache.org/thread.html/2ba2225043a6ca7d2c43e4293323309b041bd8d486516cc50fec61cd%40%3Cdev.logging.apache.org%3E On Wed, 7 Apr 2021 at 09:17, Ralph Goers wrote: > > mvn surefire:test -Dtest=TestClass -Dmaven.surefire.debug=“remote debug > options” > > Ralph > > > On Apr 7,

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-07 Thread Ralph Goers
mvn surefire:test -Dtest=TestClass -Dmaven.surefire.debug=“remote debug options” Ralph > On Apr 7, 2021, at 7:04 AM, Volkan Yazıcı wrote: > > Okay, fair enough. Thanks so much for sharing these details, I really > appreciated it. One final question: If you want to debug a single test, how > do

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-07 Thread Volkan Yazıcı
Okay, fair enough. Thanks so much for sharing these details, I really appreciated it. One final question: If you want to debug a single test, how does your work flow look like? Do you create a new "Run Configuration" invoking a certain Maven command triggering the code/test that you are interested

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-07 Thread Apache
I will be honest. I have never tun any log4j tests in IntelliJ. I rarely do it for any projects I work on. I use JVM remote debug all the time. I don’t want to force others to have to do that, but I just never think about it. I use various versions of Maven from time to time. 3.6.1 is the defau

Re: Running "master" tests in IntelliJ IDEA after Java 11 upgrade

2021-04-07 Thread Volkan Yazıcı
Ralph, when you delete the IDEA-specific configuration (i.e., *.iml files and .idea directory), compile the sources via Maven, and open the folder in IDEA, can you run *any* tests? If so, do you have any custom IDEA configurations? Which IDEA version are you using? If you are not using the wrapper,

JsonTemplateLayout failures after Java 11 upgrade (Was: Running "master" tests in IntelliJ IDEA after Java 11 upgrade)

2021-04-07 Thread Volkan Yazıcı
Thanks so much for putting time into this Ralph, I really appreciated it. There is no way I could have figured this out by myself. I have some questions regarding pom.xml of JTL: In manifestEntries of JTL pom.xml, shouldn't there be an Automatic-Module-Name entry? There are X-Compile-Source-JDK a