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

Pack200 must support -target 7 bytecodes

    XMLWordPrintable

Details

    • b38
    • generic
    • generic
    • Verified

    Description

      It is likely that the Pack200 driver will crash on inputs which include new JDK 7 bytecode features, such as those introduced by JSR 292.

      These features include:

      - invokedynamic instructions
      - CONSTANT_InvokeDynamic CP entries
      - CONSTANT_MethodHandle CP entries
      - CONSTANT_MethodType CP entries

      The JSR 200 EG needs to issue a maintenance release that takes into account these new formats, especially the new CP entry types.

      Perhaps the new Pack200 format should "future proof" the CP by allowing layout declarations for unknown CP types. On the other hand, JDK 8 is likely to include unforeseeable class file changes, so a a maintenance release for JDK 8 is desirable also.

      Attachments

        Issue Links

          Activity

            People

              ksrini Kumar Srinivasan
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: