This content has been marked as final.
Show 1 reply
-
1. Re: Need ClassFilterUtils.JDK6 ?
jaikiran Dec 28, 2009 11:22 AM (in response to alrubinger)ALRubinger wrote:
This does not account for other non-java(x) packages within JDK6. Perhaps we should add something like:
final ClassFilter nonJavaJDK6Filter = new PackageClassFilter(new String[] {"org.w3c.dom", "org.xml.sax", "org.omg", "org.ietf.jgss"}); final ClassFilter jdk6Filter = CombiningClassFilter.create(false, ClassFilterUtils.JAVA_ONLY, nonJavaJDK6Filter); // Functionally equivalent to this
...
Is that for endorsed libraries? Perhaps, you need a "EndorsedClassFilter" which takes into account the libraries listed here http://java.sun.com/javase/6/docs/technotes/guides/standards/index.html? However, each JDK implementation can further have their own set of endorsed packages, so you probably will end up having different filters for each vendor?