code: @Override
      protected void captureSystemStreams() {
          PrintStream sysOut = System.out;
          PrintStream sysErr = System.err;
  
          PrintStream trSysOut = systemOut.getOriginalStream();
          PrintStream trSysErr = systemErr.getOriginalStream();
  
          if (sysOut != trSysOut) {
              throw new ConcurrentModificationException("Someone else has reset or cached System.out");
          }
          if (sysErr != trSysErr) {
              throw new ConcurrentModificationException("Someone else has reset or cached System.err");
          }
  
          super.captureSystemStreams();
      }
docs: This is not to be used by the SharedOutputManager! This is an override
  of the BaseTraceService method that captures system streams.
  
  We aren't changing behavior here: just checking what's what.