JDK-5014076 : (reflect) java.lang.reflect.Modifier spec needs to be updated with new flags
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2004-03-16
  • Updated: 2012-09-28
  • Resolved: 2004-03-16
Related Reports
Relates :  
Description

Name: vpR10197			Date: 03/16/2004


The new class file specified in JSR202 (version >= 49) has additional class
access flag ACC_SYNTHETIC, ACC_ENUM and ACC_ANNOTATION, field access flags
ACC_ENUM and ACC_SYNTHETIC, and method access flags ACC_BRIDGE, ACC_VARARGS
and ACC_SYNTHETIC.
java.lang.reflect.Modifier needs to be modified to reflect these new flags.

This bug affects the following NSK test:
    nsk/monitoring/ThreadState/fields/fields001
======================================================================

Comments
EVALUATION The Modifier class does not need to support these vm-only modifiers. This information is already available in other parts of the core reflection api; e.g. Class.isEnum, Method.isBridge, etc. Closing as not a bug. ###@###.### 2004-03-16
16-03-2004