- 
    Bug 
- 
    Resolution: Cannot Reproduce
- 
     P4 P4
- 
    None
- 
    9
- 
    None
                    In the type javax.sound.sampled.spi.AudioFileWriter in the java.desktop module, there is an @see reference
@see #isFileTypeSupported(Type, AudioInputStream)
where "Type" is the statically imported nested type
import static javax.sound.sampled.AudioFileFormat.Type;
While there are many uses of "Type" in the file in question, when javadoc is run over AudioFileWriter, the following warning is produced:
jdk/src/java.desktop/share/classes/javax/sound/sampled /spi/AudioFileWriter.java:127: warning - Tag @see: can't find isFileTypeSupported(Type, AudioInputStream) in javax.sound.sampled.spi.AudioFileWriter
Changing the @see reference to
@see #isFileTypeSupported(AudioFileFormat.Type, AudioInputStream)
resolve the problem. Therefore, it seems that javadoc is not properly handling the statically imported in this situation since other occurrences of Type do *not* have to be (partially) qualified.
@see #isFileTypeSupported(Type, AudioInputStream)
where "Type" is the statically imported nested type
import static javax.sound.sampled.AudioFileFormat.Type;
While there are many uses of "Type" in the file in question, when javadoc is run over AudioFileWriter, the following warning is produced:
jdk/src/java.desktop/share/classes/javax/sound/sampled /spi/AudioFileWriter.java:127: warning - Tag @see: can't find isFileTypeSupported(Type, AudioInputStream) in javax.sound.sampled.spi.AudioFileWriter
Changing the @see reference to
@see #isFileTypeSupported(AudioFileFormat.Type, AudioInputStream)
resolve the problem. Therefore, it seems that javadoc is not properly handling the statically imported in this situation since other occurrences of Type do *not* have to be (partially) qualified.
- duplicates
- 
                    JDK-8044514 javadoc problems referencing inner classes when static import is used -           
- Closed
 
-         
- relates to
- 
                    JDK-8083664 Update AudioFileWriter to generate working @see reference -           
- Resolved
 
-