Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4268000
Votes 0
Synopsis java.lang.reflect.Modifer vague wrt constants from classfile spec
Category guides:none
Reported Against 1.2.2
Release Fixed
State 11-Closed, duplicate of 4320557, request for enhancement
Priority: 4-Low
Related Bugs 4320557
Submit Date 02-SEP-1999
Description




java.lang.reflect.Modifier defines constants like
ABSTRACT as an int - but does the value of ABSTRACT
have to be 0x0400 as it is in the classfile spec?

Suggestion: state in the javadoc for Modifier that the
constants are derived from the classfile spec.

I hope this isn't too picky but it seems that the class might
as well state this...


References - the classfile spec:

http://www.javasoft.com/docs/books/vmspec/html/ClassFile.doc.html

And one bug id that I hope you don't close this as a dup of :)

4105333

-------------

9/1/99   xxxxx@xxxxx   -- 4105333 does seem to have the same subject, but its claimed fix is both unverified and undocumented (no ref to where/when fixed).  
FIling new bug, even if only FYI...
(Review ID: 94692) 
======================================================================
Work Around




Define classfile constants yourself or experiment and
see if they match.
======================================================================
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang