RFR: 8169588: [AOT] jaotc --classpath option is confusing

Rickard Bäckman rickard.backman at oracle.com
Thu Jan 5 14:12:43 UTC 2017


Noticed that I forgot to add changes to test cases in the webrev.
So updated.

http://cr.openjdk.java.net/~rbackman/8169588.1/

/R

On 01/05, Rickard Bäckman wrote:
> Hi,
> 
> can I please have this change reviewed?
> 
> It changes how jaotc handles command line options.
> With this change it handles:
> 
> jaotc /tmp/some/directory /tmp/some/directory2/
> jaotc /tmp/some/file.jar /tmp/foo/bar.jar
> jaotc java.base
> 
> You can also use a new flag --search-path
> 
> jaotc --search-path /tmp/jarfiles:/tmp/jarfiles2 file1.jar file2.jar
> 
> or mix the kind of things you are trying to compile
> 
> jaotc /tmp/foo/dir /tmp/bar/foobar.jar java.base
> 
> https://bugs.openjdk.java.net/browse/JDK-8169588
> http://cr.openjdk.java.net/~rbackman/8169588/
> 
> Thanks
> /R


More information about the hotspot-compiler-dev mailing list