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

junit issue after fix to JDK-8073589

    XMLWordPrintable

    Details

    • Resolved In Build:
      b54

      Backports

        Description

        The junit tests SetupHelpers create RuleAction with third arg as an empty string.
        This is the <message> arg, so to a run rule - it has created run rule with an empty message.
        After 8073589 implementation that will cause an empty message box.

        I propose to fix in two places:
        1.) pass null, instead of empty string to RuleAction constructor (in SetupHelpers).
        2.) only show new dialog in SandboxSecurity.checkRunRuleMessage() if message element is both non-null and non-empty.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                herrick Andy Herrick (Inactive)
                Reporter:
                herrick Andy Herrick (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: