> >Yes it's possible. It's used by the code used in serialuid package.
This
> >package will be removed completely when xjavadoc gets ready :o)
> >Anyway I don't have JDK 1.4 here, anyone volunteering to add the
missing
> >1.4 methods? I mean before v1.1 release.
> 
> Are you sure it's possible?  The missing position() method (from the
> com.sun.javadoc.Doc interface) is declared as returning a
> com.sun.javadoc.SourcePosition, but this class is new to 1.4.  If I
add
> that
> method into xdocelet.util.serialveruid.DocImpl, then compiling under
> earlier
> JDKs won't find the SourcePosition class so it'll fail to build under
1.2
> and 1.3 instead...
> 
> FieldDocImpl.constantValue() and MethodDocImpl.overriddenMethod()
don't
> look
> so bad, as they return a java.lang.Object and
com.sun.javadoc.MethodDoc
> respectively, and I presume I'd just throw an
> UnsupportedOperationException
> anyway (like most of the other methods are doing).  I don't know how
to
> get
> around the position() problem, though, short of adding a
> com.sun.javadoc.SourcePosition of our own?  Or do we just change
> using.html
> to say "1.2 & 1.3 only" for now, and migrate to "1.4 and above only"
once
> it's released (or switch to xjavadoc instead, of course)?

OK it's not possible. So using.html should be updated to reflect the
dependency on JDK1.2/1.3. I believe xjavadoc will be ready before
JDK1.4's release.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to