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

Improve error message when with statement is passed a POJO

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b65
    • generic
    • generic

    Backports

      Description

        with() statement doesn't work with POJOs. It'd be nice to point out a solution (Object.bindProperties({}, pojo) in the error message.

        Attachments

          Issue Links

            Activity

              People

                attila Attila Szegedi
                attila Attila Szegedi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: