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

Fully implement `jdk.internal.classfile.impl.TemporaryConstantPool`

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Currently, several factory methods in `TemporaryConstantPool` throw `UnsupportedOperationException` instead of constructing the relevant `PoolEntry` objects, namely:
      - `TemporaryConstantPool​::methodTypeEntry​(Utf8Entry)`
      - `TemporaryConstantPool​::methodTypeEntry​(MethodTypeDesc)` (see also https://bugs.openjdk.org/browse/JI-9077893 )
      - `TemporaryConstantPool​::invokeDynamicEntry​(int, MemberRefEntry)`
      - `TemporaryConstantPool​::constantDynamicEntry​(BootstrapMethodEntry, NameAndTypeEntry)`
      - `TemporaryConstantPool​::bsmEntry​(MethodHandleEntry, List<LoadableConstantEntry>)`

      I propose to add implementations for those methods matching all the other factory methods in `TemporaryConstantPool`.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: