Re: -jar option and the modulepath

2018-11-23 Thread Scott Palmer
I’m curious how this relates to the -m or —module option. I had though it looked like the module equivalent of the -jar option. Cheers, Scott > On Nov 23, 2018, at 12:41 PM, Richard Hillegas wrote: > > Thanks, Alan. > > On 11/23/18 12:06 AM, Alan Bateman wrote: >> On 22/11/2018 19:27,

Re: -jar option and the modulepath

2018-11-23 Thread Richard Hillegas
Thanks, Alan. On 11/23/18 12:06 AM, Alan Bateman wrote: On 22/11/2018 19:27, Richard Hillegas wrote: Can I scribble something in a jar file manifest which will cause "java -jar" to boot with a modulepath rather than a classpath? I do not see any support for a modulepath attribute in the Java

RFR: 8170769 Provide a simple hexdump facility for binary data

2018-11-23 Thread Vincent Ryan
Hello, Please review this proposal for a new API to conveniently generate and display binary data using hexadecimal string representation. It supports both bulk and stream operations and it can also generate the well-known hexdump format [1]. This latest revision addresses review comments

Re: RFR: 8214077: test java/io/File/SetLastModified.java fails on ARM32

2018-11-23 Thread Alan Bateman
On 23/11/2018 11:13, Nick Gasson wrote: This looks right and reduces the stat usages in libjava down to one remaining case (ProcessHandlerImpl_linux.c). Hi Alan, Do you want me to do this one too for completeness? Although as it's calling stat() on the /proc/ directory I don't think it's

RE: RFR: 8214077: test java/io/File/SetLastModified.java fails on ARM32

2018-11-23 Thread Nick Gasson
> This looks right and reduces the stat usages in libjava down to one > remaining case (ProcessHandlerImpl_linux.c). Hi Alan, Do you want me to do this one too for completeness? Although as it's calling stat() on the /proc/ directory I don't think it's possible to hit the EOVERFLOW case.

Re: RFR: 8214077: test java/io/File/SetLastModified.java fails on ARM32

2018-11-23 Thread Alan Bateman
On 23/11/2018 09:37, Nick Gasson wrote: Hi Alan, I've done this here: http://cr.openjdk.java.net/~njian/8214077/webrev.2/ This looks right and reduces the stat usages in libjava down to one remaining case (ProcessHandlerImpl_linux.c). I'm a bit unsure about #ifndef MACOSX - some existing

Re: RFR 8177552: Compact Number Formatting support

2018-11-23 Thread Nishit Jain
Hi Naoto, > I think DecimalFormat and CNF should behave the same, ie. 'E' should be treated as the exponent without a quote. Personally I don't think that the exponential parsing should be supported by CompactNumberFormat, because the objective of compact numbers is to represent numbers in

RE: RFR(XXS): 8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr)

2018-11-23 Thread Markus Gronlund
Thank you David and Erik for taking a look at this. Cheers Markus -Original Message- From: David Holmes Sent: den 22 november 2018 23:27 To: Markus Gronlund ; hotspot-runtime-...@openjdk.java.net; core-libs-dev Subject: Re: RFR(XXS): 8214161: java.lang.IllegalAccessError: class

RE: RFR: 8214077: test java/io/File/SetLastModified.java fails on ARM32

2018-11-23 Thread Nick Gasson
> Can you fix the stat usages in TimeZonone_md.c too? Hi Alan, I've done this here: http://cr.openjdk.java.net/~njian/8214077/webrev.2/ I'm a bit unsure about #ifndef MACOSX - some existing files guard the stat64 #define with this (e.g. UnixFileSystem_md.c) and some don't (e.g.

Re: Extending Java Arrays/Collection Sort API

2018-11-23 Thread Laurent Bourgès
Hi, I am happy to announce that I succeeded in writing my own BentleyBasher working like a swiss clock: - auto-tune benchmark passes & hot loop to obtain high accuracy on measurements ~ 2% (guaranteed), with proper variance estimators - test > 10 sorters with small, large & very large int[]

RE: Proposal: Add support for Process Groups to the JDK

2018-11-23 Thread Lindenmaier, Goetz
Hi Roger, > I'd be interested in hearing more about the use cases. Well, as Thomas already stated, we use this in our test framework and in an application server environment. Our test scheduler runs tests of various VMs (we test OpenJDK builds, SapMachine builds and SAP JVM builds for Java 5-12

Re: -jar option and the modulepath

2018-11-23 Thread Alan Bateman
On 22/11/2018 19:27, Richard Hillegas wrote: Can I scribble something in a jar file manifest which will cause "java -jar" to boot with a modulepath rather than a classpath? I do not see any support for a modulepath attribute in the Java 9 jar file documentation at