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

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 23 15:56:11 UTC 2011


On 23/11/2011 13:33, Fredrik Öhrström wrote:
> :
> I have.... no suprise there I guess ;-). If you read
> CompileJavaClasses.gmk in build-infra/jdk7/jdk/make
> you can see the hoops we need to go through to filter out platform
> specific classes in share/classes
> and linux specific classes in solaris/classes etc etc.
Yes, I've looked at CompileJavaClasses.gmk where it is essentially has 
to filter the classes in src/solaris because there are classes for more 
than one platform.

I just wonder whether it's time to re-visit that so that code for a 
specific platform is in its own src/<platform> tree (<module> goes in 
there once the code is restructured on module lines). It fits with the 
new build infra in that the code in src/solaris should ultimately (may 
take a long time) be changed to be based on capabilities rather than 
ifdef <platform>.

-Alan.



More information about the build-dev mailing list