The test case Caret002 in
javasoft.sqe.tests.api.javax.swing.text.Caret.CaretTests fails due to Caret selection is not invisible
The test log as below:
Caret001: Passed. OKAY
Caret002: Failed. Caret selection should be invisible
This is reproducible with JDK 7 MacPort only
The essence of the testcase is the following:
javax.swing.text.Caret testedCaret = new JTextArea().getCaret();
With AuqaL&F method isSelectionVisible() returns true which is wrong.
The problem is with implementation consistency for getter/setter methods:
com.apple.laf.AquaCaret.setSelectionVisible() ignores disabling of the selection visibility for JTextArea and JEditorPane
it is agains the spec, however this code is forward ported from official JDK 6 from Apple, which is supposed to be JCK compliant
I checked that Caret.setSelectionVisible() works the same way there,
we request the JCK team to comment on this situation.
Well, porting some code from something which is supposed to be a JCK compliant
does not makes the result compliant automatically.
I suggest to ask JLE regarding Apple certification of their SE6 implementation particualry in this little aspect.
Adding ###@###.### to the interest list