directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Minor problems with possibly generated schema classes
Date Mon, 22 Jan 2007 09:49:37 GMT
I have 2 complaints about the schema-bootstrap and schema-extra  
modules...

1. Many of the source java files that are checked in claim that they  
are automatically generated.  IMO these should either be actually  
generated as part of the build or their javadoc should clearly state  
that they are not generated or say that they were once generated and  
why they aren't generated as part of the build.

2. These two modules have the same package name.  This is generally a  
really bad idea and can lead to lots of classloader problems... some  
of which I recently ran into, such as the protected constructors in  
public inner classes becoming inaccessible from the other jar when  
the jars are loaded in different classloaders.

I could fix (2) but not (1) unless someone tells me what the answer  
is :-)

thanks
david jencks


Mime
View raw message