Re: [9] Review request: 8177566: FX user module gets IllegalAccessException from sun.reflect.misc.Trampoline

2017-05-02 Thread David Hill
ight be better to split up the two "solutions" so that it the choice is clearer. Related is that the IAE thrown by MethodHelper.invoke could make it clear that the package is not exported. -Alan. -- David Hill Java Embedded Development "A man's feet should be planted in hi

Re: --add-opens on an automatic module ?

2016-12-15 Thread David Hill
t.debugModuleAccessChecks=true might reveal something useful. -Alan -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952)

--add-opens on an automatic module ?

2016-12-14 Thread David Hill
jar it is packaged with likely (groovy-all-2.4.7.jar) A quick search online did not show me how to specify a (presumably) automatic module in the --add-opens=module/package=consumer argument. -- David Hill Java Embedded Development "A man's feet should be planted in his country,

JDK9 and Gradle modular quickstart

2016-08-25 Thread David Hill
natively, but as my quickstart shows, it can be done now without too much extra effort. I would be interested in any comments or suggestions on how I have solved this task. I plan on folding what I have found into the OpenJFX build. Dave -- David Hill Java Embedded Development "A man'

Re: javac, modular builds mixed with some gradle.

2016-08-23 Thread David Hill
en they will be compiled into the output directory as well. You can disable this behavior with javac's -implicit option: -implicit:{none,class} Specify whether or not to generate class files for implicitly referenced files -- Jon On 08/23/2016 01:57 PM, David Hill wrote: I

Re: javac, modular builds mixed with some gradle.

2016-08-23 Thread David Hill
Ælfweald http://www.google.com/profiles/malachid On Tue, Aug 23, 2016 at 1:57 PM, David Hill mailto:david.h...@oracle.com>> wrote: I am trying to understand module compilation using a trivial set of classes. These comprise a "module" of two classes, a test class, and a &

javac, modular builds mixed with some gradle.

2016-08-23 Thread David Hill
e/org/dave/ListShim.class /Users/ddhill/shared/gradle/module-quickstart/modules/dave/build/classes/shims/dave/org/dave/Person.class -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952)

Re: modulepath and classpath mixture

2016-03-23 Thread David Hill
d-to my.mod.test; } module my.mod.test { requires my.mod; // since other end specifies fully-exposed-to, this gets full access requires junit; } Is this issue on the list of open issues? http://openjdk.java.net/projects/jigsaw/spec/issues/ Stephen -- David Hill Java Embedded Development

Re: Problem using JavaFX Application class

2016-02-23 Thread David Hill
herImpl also needs to setup a readability relation on-the-fly, with the caveat that the class extending Application must always be exported by the application developer for this to work. Is this the solution we can expect, or are there any other plans for this situation? Regards, Sander