test/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java

Print this page

        

*** 29,38 **** --- 29,39 ---- import java.lang.reflect.Method; import java.util.ArrayList; import javax.swing.*; import sun.awt.*; import java.io.*; + import test.java.awt.regtesthelpers.Util; /** * <p>This class provides basis for AWT Mixing testing. * <p>It provides all standard test machinery and should be used by * extending and overriding next methods:
*** 129,139 **** } borderShift = Integer.parseInt(readInputStream(p.getInputStream()).trim()); isFrameBorderCalculated = true; } catch (IOException e) { e.printStackTrace(); ! System.exit(1); } } return borderShift; } --- 130,140 ---- } borderShift = Integer.parseInt(readInputStream(p.getInputStream()).trim()); isFrameBorderCalculated = true; } catch (IOException e) { e.printStackTrace(); ! throw new RuntimeException("Problem calculating a native border size"); } } return borderShift; }