About JObjC...

Scott Kovatch scott.kovatch at oracle.com
Tue May 29 07:20:49 PDT 2012


Folks,

A question this morning about JObjC reminded me of something I want to propose to the list. Given that JObjC is a Mac OS X-only technology, it's not clear to me that it belongs in the full JDK. Nothing in the JDK itself uses it, and it contributes about 500k to the overall runtime. That's not a lot, compared to the 62 MB for all of rt.jar, but every little bit helps.

With Java 8 coming, JObjC looks like a good candidate for modularization. It has no dependencies of its own, and isn't used enough to warrant putting it into the core. That way, if you want it you can include it in your applications, and you won't have to pay the cost of including it if you don't.

I'm inclined to say we shouldn't be building it into 7uX's rt.jar, but given the size it may not be worth the effort. 

Any opinions?

-- Scott



More information about the macosx-port-dev mailing list