Re: [log4j] Java 8 and java.time

2018-11-04 Thread Remko Popma
> On Nov 5, 2018, at 2:33, Gary Gregory wrote: > > Some notes. > > Java 8 provides a java.time package. It would be nice to reuse it instead > of keeping our own Java 7-based code. > > We provide a MutableInstant class akin to the final immutable thread-safe > java.time.Instant class. > > Ou

Re: [log4j] Java 8 and java.time

2018-11-04 Thread Ralph Goers
I am sure we can find a way to eliminate our custom time code or base it on java.time. Whether it performs better or not would require that it be tested and compared. It wouldn’t be a simple matter to create a JMH benchmark and create our time formatting against java.time. Ralph > On Nov 4, 20

[log4j] Java 8 and java.time

2018-11-04 Thread Gary Gregory
Some notes. Java 8 provides a java.time package. It would be nice to reuse it instead of keeping our own Java 7-based code. We provide a MutableInstant class akin to the final immutable thread-safe java.time.Instant class. Our class is not interchangeable with java.time.Instant but it could be a