title: Strange unreachable yet compilable Code
body: <p>Well I made this method Resize with in my Class Object2D, which is supposed to resize the two-dimensional Color-Array PointInformation of the Object2D, that it is called onto, by a certain Percentage. (I found that easier to do when convertig the 2D-Array into an 1D Array)</p>
  
  <pre><code>public class Object2D
  
  {
  int width;
  int height;
  int ResizePercentage = 100;
  Color PointInformation[][];
  
  
  public void Resize(int Percentage)
  {
      Color[]temp = Standart_Methods.Reduce2DArray(this.PointInformation);
      int temp_width = this.width;
      int temp_height = this.height;
      double Faktor = (Percentage+100)/100;
      this.width = (int) (this.width*Faktor);
      this.height = (int) (this.height*Faktor);
      this.ResetPointInformation();
      Color[]temp2 = Standart_Methods.Reduce2DArray(this.PointInformation);
  
      int SamePixelCount = 0;
      Color LastColor = temp[0];
      for (int i = 0; i &lt; temp.length; i++)
      {
          if (temp[i] == LastColor )
          {
              SamePixelCount += 1;
          }
          else
          {
              for (int i2 = (int) (i*Faktor); i == 1; i-- )
              //Method Resize will only be called when i*Faktor is going to be 100% = X.0 (An Integer)
              {
              temp2[i*2-i] = LastColor;      
              }
              SamePixelCount = 0;
          }
      }
      Standart_Methods.PrintArray(temp2);
      int a = 10;
      int b = 0;
      System.out.print(a/b); //No Exeption, Code unreachable!?       
  }
  }
  </code></pre>
  
  <p>It basically starts at temp[0] and adds 1 to the int SamePixelCount as long as it finds the same Color. 
  When a different Color is found, the method writes the Color of the former Pixels into the right Places in the temp2 Array.</p>
  
  <pre><code>for (int i = 0; i &lt; temp.length; i++)
  {
      if (temp[i] == LastColor )
      {
          SamePixelCount += 1;
      }
      else
      {
          for (int i2 = (int) (i*Faktor); i == 1; i-- )
          //Method Resize will only be called when i*Faktor is going to be 100% = X.0 (An Integer)
          {
          temp2[i*2-i] = LastColor;      
          }
          SamePixelCount = 0;
      }
  }
  </code></pre>
  
  <p>The correct translation of the manipulated Array temp2 into the Object's PointInformation is still missing, because I wanted to test, if temp2 was correctly resized out of temp, so I did</p>
  
  <pre><code>Standart_Methods.PrintArray(temp2); //the Method works btw
  </code></pre>
  
  <p>but it just did nothing! And even bader! Everything I put at the place of that command, also didn't!</p>
  
  <pre><code>    int a = 10;
      int b = 0;
      System.out.print(a/b); //No Exeption! 
  </code></pre>
  
  <p>And what is even stranger is, that as soon as I call the Method <strong>Resize</strong>, somewhere, everything after the Call turns into the same strange unreachable Code!?</p>
  
  <p>I am seriously totally clueless about what could have caused this problem.</p>
  
  <p><strong>Any help would be nice!</strong></p>