inType doesn't seem to include interfaces, just classes

We have a couple of custom taglets for which inType() returns true. The taglets work OK for class javadocs, but are printed almost literally when use in interface javadocs.

I've been prowling around various search engins and the bug parade for a while today but find no mention of this. Anybody else hitting this / comments / suggestions?

(We switched to taglets with JDK 1.4.2 but didn't notice the problem until recently [so we don't know if it was there in early JDK 1.4.2_xx or not). It's still a problem in JDK 1.5.0_06.)

[549 byte] By [wjcarpentera] at [2007-10-3 7:08:08]
# 1

The document clearly states it should work for both classes and interfaces:

inType()

Return true if this Taglet is used in type documentation (classes or interfaces).

http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/taglet/spec/com/sun/tools/doclets/Taglet.html#inType()

I'm not familiar with this bug. If you can create a small isolated case that demonstrates the bug, please submit it as described here:

http://java.sun.com/j2se/javadoc/faq/#submitbugs

dhkramera at 2007-7-15 2:02:49 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...