Java Mailing List Archive

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] JDOM 1.1 Release Candidate

Jason Hunter


> With jdom-1.1 and this change ported up... everything runs fine in
> ActiveMath after recompilation (running jdk1.5 on Linux).
> Before, however, I had the following:
> java.lang.NoSuchMethodError:
> org.jdom.Element.setAttributes(Ljava/util/List;)Lorg/jdom/Element;
>      at
> org.activemath.exercises.InteractionManager.decorateElement(
>      at
> org.activemath.exercises.InteractionManager.decorateElement(
> ... and indeed setAttributes was for List in JDOM 1.0...
> I would suggest you keep both methods.

Great catch! This is exactly why I make the release candidates.

I've added back setAttributes(List) and kept setAttributes(Collection)
as well. I don't think there's any other situations like this. But
please do check for me against the RC I'll build later tonight. The
goal of course is no recompile needed, just drop-in compatible.

To control your jdom-interest membership:
©2008 - Jax Systems, LLC, U.S.A.