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

More concise use of classfile API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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)'

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

              Created:
              Updated:
              Resolved: