[Prev][Next][Index][Thread]

bug? fix in jigsaw 1.0beta1



Hi!

To fix a problem while reading in filter specifications which
unnecessary spaces, HttpManager.java needs to undergo this
change:

w3c/www/protocol/http/HttpManager.java:

    321:  Class c = Class.forName(filters[i].trim()); // added trim()

Otherwise if a filter spec like this:

w3c.www.protocol.http.filters=w3c.www.protocol.http.DebugFilter \
	| w3c.www.protocol.http.cache.CacheFilter \

is introduced, the extra spaces around the class names will
produce a java.lang.IllegalArgumentException during filter
initialization.

-- Jake