X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libjava%2Ftestsuite%2Flibjava.lang%2Finstinit2.java;fp=libjava%2Ftestsuite%2Flibjava.lang%2Finstinit2.java;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=dcab178eca8752d5c6a89633d5f22dd6923708d3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libjava/testsuite/libjava.lang/instinit2.java b/libjava/testsuite/libjava.lang/instinit2.java deleted file mode 100644 index dcab178e..00000000 --- a/libjava/testsuite/libjava.lang/instinit2.java +++ /dev/null @@ -1,31 +0,0 @@ -// Class instinit2 -// Generated on Wed Feb 2 17:52:49 PST 2000 -// The instance initializer throws a checked exception. This is OK -// since the constructors declares it in its `throws' clause -- at -// least that's what the specs are saying. - -class instinit2 { - - String buffer = "Oink Oink!"; - - { - System.out.println ("Checking the oink..."); - if (buffer != null) - throw new Exception ("It just oinked"); - } - - instinit2 () throws Exception - { - System.out.println ("Ctor"); - } - - public static void main (String[] arg) - { - System.out.println ("Testing class `instinit2'..."); - try { - System.out.println (new instinit2 ().buffer); - } catch (Exception e) { - System.out.println (e.toString()); - } - } -}