Understanding the com.sun.* APIs being (ab)used by the community

Hervé Girod herve.girod at gmail.com
Wed Jun 3 16:19:28 UTC 2015


Thanks! However I have also jars which are using JavaFX on which I will use the tool against !

Sent from my iPhone

> On Jun 3, 2015, at 18:08, Phil Race <philip.race at oracle.com> wrote:
> 
> I can't speak for Jonathan on that point but if you find you are using
> something not on the list at the URL below, you may want to ask
> on the appropriate list what would be a suitable replacement
> 
> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> 
> Note that sometimes it can be out of your immediate control when you
> find its a 3rd party jar you import that has the dependency and then you
> would probably want to notify the authors of that code.
> 
> -phil.
> 
>> On 06/03/2015 09:01 AM, Hervé Girod wrote:
>> I know that it's the openjfx list, but are you also interested on other internal APIs usages?
>> 
>> Hervé
>> 
>> Sent from my iPhone
>> 
>>> On Jun 3, 2015, at 08:17, Jonathan Giles <jonathan.giles at oracle.com> wrote:
>>> 
>>> 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
> 


More information about the openjfx-dev mailing list