Oh, of course, never mind then.
Jdeps output from our application is on its way to Jonathan.
Stefan
Right. They won't be flagged as problematic by the tool, but Jonathan
knows which ones are -- namely, any JavaFX package that doesn't begin
with "javafx."
-- Kevin
Nicolai Parlog wrote:
Hi Stefan,
running jdeps as shown in Jonathans post (with "-v") "[p]rints all
class-level dependencies"[1]. This includes the ones which will not be
accessible in Java 9.
The bug you cite is based on a missing definition of some packages as
internal API, so running with -jdkinternals will not list them as
problematic.
so long ... Nicolai
[1] https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jdeps.htm
l
On 03.06.2015 20:54, Stefan Fuchs wrote:
Hi Jonathan,
thank you for your effort.
Note however, that the output of the current version of jdeps may
be incomplete.
See https://bugs.openjdk.java.net/browse/JDK-8077349 Update jdeps
to recognize JavaFX internal packages, which seems not to be fixed
yet.
Stefan
Hi folks,
I've written a tool that analyses the output of JDeps. This
allows for me to quickly understand what com.sun.* APIs are being
used by projects. It basically just gives a tally of each
com.sun.* class that is being used, given a directory of files
that are output from JDeps (where each file is the output from
running JDeps against a single jar file). The more of these JDeps
text files I have, the more data I can have about what APIs are
being (ab)used.
Also, before I go further, lets try to keep this simple - I'd
rather not have this discussion get political about the merits of
modularity, choosing which APIs are most important, etc, etc,
etc! I'm just a lowly engineer trying to make things as good as I
can for you all. The remainder of the political discussion can
start in ~2 weeks when I'm on vacation ;-)
If you want to give me more data, please do the following from
your computer, and then email me (off-list!) the resulting text
file. My example command line instruction is what I run against
Scene Builder, but please don't send me the output against your
Scene Builder jar - I want to know what the output is against
your projects.
Here's the command line instruction (for my Windows 8 machine,
your mileage may vary):
jdeps -v SceneBuilder-8.0.0.jar > SceneBuilder-8.0.0.txt
Send me (again, off-list!) the resulting text file. I don't want
your jar files or anything else, I don't think my inbox could
handle it :-)
Thanks, -- Jonathan