Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4268000

java.lang.reflect.Modifer vague wrt constants from classfile spec

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • docs
    • generic
    • generic



      Name: krT82822 Date: 09/01/99


      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 eval1127@eng -- 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)
      ======================================================================

            shommel Scott Hommel (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: