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

Phil Race philip.race at oracle.com
Wed Jun 3 16:08:21 UTC 2015

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


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.


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