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

Refactor Cast binding to enum

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • core-libs
    • None

      Refactor the cast Binding operator from a record to an enum. This will make it easier for BindingSpecializer to switch over all available conversions.

      It also allows fixing a bug which makes the int to boolean conversion not work correctly in interpreted mode.

      Doing this also makes it easier to add other kinds of conversions in the future.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: