On Sun, Feb 23, 2014 at 07:29:53PM -0800,
zma...@gmail.com wrote:
> The Marmoset A2 test case "Je_4_FinalHide" appears to be testing if we reject programs where a subclass overrides or hides a final method. However one of the files in the test case: "javax/swing/text/Utilities.java" is invalid Joos. The Utilities class has a method with the signature: "public static final int getRowStart(javax.swing.text.JTextComponent a, int b)".
>
> According to Assignment 1: "A static method cannot be final", so this test case will be rejected before any hierarchy checking is done. I don't think this is the intended behaviour of the test case.
Thank you for letting me know about this.
The test case should fail either way, so it should not affect your mark
on the assignment.
I have made a note to fix this for future offerings of the course, so
that the test will correctly test what is intended. I will not change
the test this term to avoid the unlikely possibility of reducing the
mark of some group that has already passed the test.