More concise use of classfile API

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b19

      java.base should provide best practices for Class File API

      1. Use fluent coding style
      2. Use aconst_null instead of oadConstant(null)
      3. Use astore intead of 'storeLocal(REFERENCE'
      4. Use aload instead of 'loadLocal(REFERENCE'
      5. Use 'lload/lstore' instead of 'loadLocal(LONG)/storeLocal(LONG)'

            Assignee:
            Shaojin Wen
            Reporter:
            Shaojin Wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: