jdk/src/solaris - time to re-visit it?

David Holmes david.holmes at oracle.com
Wed Nov 23 20:48:38 UTC 2011


It's definitely tricky (lots of refactoring needed) but it definitely 
needs to be done at some point - however I think we already missed the 
opportunity to do this before integrating the BSD and MacOSX code (same 
on the VM side)


On 23/11/2011 10:12 PM, Alan Bateman wrote:
> In the jdk repository then src/solaris has all the Solaris and Linux
> code. Most of it is used for both platforms with a small number of files
> specific to one or the other. I'm sure this has come up before (probably
> many times) but I'd like to bring it up again.
> One of motives for bringing this up now is the Mac OS X port is coming.
> It adds/changes code in src/solaris and also adds a lot of code to a new
> tree src/macosx. Another motivation is patches from IBM folks which are
> really just changes to workaround the fact that we've got code for
> several platforms in the same directory. As I look through src/solaris
> now it is clear that we have taken several approaches to this. In some
> cases we've got Solaris* files, in other cases we rename files during
> the build.
> The purpose of this mail is just to probe and see if anyone has thought
> about this problem recently. I'm not suggesting anything specific except
> to see whether it's worth thinking about how we might change this in the
> future. I've no doubt that there isn't a perfect solution to this and
> clearly any changes will be disruptive (but there's no harm discussing
> possible options).
> -Alan.

More information about the build-dev mailing list