Bulk packager integration

Michael Hall mik3hall at gmail.com
Tue Dec 1 02:30:42 UTC 2015

> On Nov 30, 2015, at 9:19 AM, Danno Ferrin <danno.ferrin at oracle.com> wrote:
>  do we need to add some -XaddExports?  


java -cp . JRTLister -p  com.sun.tools.jdeps.Main

javac TestJdeps.java
TestJdeps.java:1: error: package com.sun.tools.jdeps does not exist
import com.sun.tools.jdeps.Main;

Macintosh:jigsaw mjh$ javac -XaddExports:jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED TestJdeps.java
Macintosh:jigsaw mjh$ 

import com.sun.tools.jdeps.Main;

public class TestJdeps {
  public static void main(String[] args) {
    try {
      Main.main(new String[] { "-version" });
    catch (Exception ex) { ex.printStackTrace(); }

[fwiw http://www195.pair.com/mik3hall/JRTLister.java] <http://www195.pair.com/mik3hall/JRTLister.java%5D>

Michael Hall

More information about the openjfx-dev mailing list