United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6417022 : javax.management.DescriptorKey has inconsistent meta-annotations

Details
Type:
Bug
Submit Date:
2006-04-24
Status:
Resolved
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2006-05-30
Component:
core-svc
OS:
other
Sub-Component:
javax.management
CPU:
other
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
See http://download.java.net/jdk6/docs/api/javax/management/DescriptorKey.html

Has

@Inherited
@Target(value=METHOD)

These are inconsistent. @Inherited only has meaning when target includes TYPE.


REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

Indeed, this meta-annotation does nothing and should be removed.
                                     
2006-04-24



Hardware and Software, Engineered to Work Together