Hi Marc,
the constructors public NewCookie(Cookie cookie) and public
NewCookie(Cookie cookie, String comment, int maxAge, boolean secure) is
inconsistent with its javadoc. The javadoc says, that it throws an
IllegalArgExc, but now it throws a NPE.
best regards
Stephan