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

javac, a new attribute is needed in class files to reflect references to inlined constants

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 8
    • tools
    • None

      Javac in-lines constants defined in other classes during code generation. At present a reference to the class defining such a constant is inset in the constant pool. This is not clear nor useful for interested parties, automatic tools, CP analyzers, etc.

      A new undocumented attribute located under method_info can explicitly declare what are the referred fields in external classes.

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: