Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-256

Typo in BMUnit security policy system property processing

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4
    • Component/s: Contrib
    • Labels:
      None

      Description

      There is a typo in the following code segment in BMUnit:

           /**
           * test whether a security policy should be set for agent codewhen the agent is installed
           */
          private static boolean initPolicy()
          {
      	String policyString= System.getProperty(AGENT_PORT);
      	return (policyString == null ? false : Boolean.valueOf(policyString));
          }
      

      Believe the constant should be AGENT_POLICY.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                rachmato Richard Achmatowicz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: