What steps will reproduce the problem?
1. Use jdk1.7.0_09 to build the applet
2. testHandleMessageCorruptIntegritySignature fails
3.
What is the expected output? What do you see instead?
Expected: Test would pass
Instead: Test fails
What version of the product are you using? On what operating system?
Window 7 32 bit
Please provide any additional information below.
At the moment only jdk 1.6 is supported so this is more an informational issue.
In the new JDK 1.7 the signature.Verify() function throws an exception when the
signature length is not OK. In JDK 1.6 it would return false if this was the
case (not an exception).
Therefor the test testHandleMessageCorruptIntegritySignature will fail because
the following assertion fails in JDK 1.7:
assertEquals("remote-address",AuditTestService.getAuditIntegrityRemoteAddress())
;
The remote address is not set correctly due to the exception ending the code
prematurely.
When future JDK versions are supported the test code must be changed.
Original issue reported on code.google.com by kristof....@gmail.com on 6 Nov 2012 at 1:40
Original issue reported on code.google.com by
kristof....@gmail.com
on 6 Nov 2012 at 1:40