title: Error on server - but not on Dev machine
body: <p>I'm working on string casting for the following case. This line works locally, but does not work in the testing server that we have. Both servers run on JDK 1.5 and Websphere 6.1. </p>
  
  <pre><code>for (Object objArr: comm){
              schedules.add((String)objArr); //Error at this line
          }
  </code></pre>
  
  <hr>
  
  <p>Error that I get: </p>
  
  <pre><code>java.lang.ClassCastException: [Ljava.lang.Object; incompatible with java.lang.String
  </code></pre>
  
  <p>Is there a compiler setting in eclipse that I have to worry about? </p>