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

Refactor Cast binding to enum

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: