This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: PR 163 test


I committed the test case for PR 163. Note that this is not really the
same as the existing "BlankFinal.java" test, which deals with static
finals and is arguably legal code, even though neither javac nor jikes
accept it. PR163.java should definatly not compile and personally I
wouldn't be too worried if BlankFinal didn't either.

  [ bryce ]


2000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>

        Test for PR gcj/163:
        * libjava.lang/PR163.java: New file.
        * libjava.lang/PR163.xfail: New file.


// Test case for the PR gcj/163

// Uninitalized final variables should not be permitted.

class PR163
{
  final int foo;
}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]