Code review request: 8006564: Test sun/security/util/Oid/S11N.sh fails with timeout on Linux 32-bit (original) (raw)

Weijun Wang weijun.wang at oracle.com
Thu Jan 31 09:27:25 UTC 2013


Here is another version of the webrev:

http://cr.openjdk.java.net/~weijun/8006564/webrev.01/

This test can do 3 things:

  1. Generate the byte streams in code format.
  2. Run in jdk7
  3. Run in jdk6

In fact, the output of 1 is included inside the test.

Thanks Max

On 01/29/2013 06:27 PM, Alan Bateman wrote:

On 29/01/2013 10:21, Weijun Wang wrote:

I cannot think of a better way to simulate jdk6 behavior without calling jdk6.

Without this hack, the forward compatibility check part cannot be tested. Maybe I can add this part to the jdk6 repo? I think the type of interop that you attempting to test here is more appropriate for other test suites. For the jdk repo, then I think it should be fine to check in the bytes streams (in source rather than binary format) and just check that they can be de-serialized in jdk8 (you can go the other way too by testing the serialized stream that jdk8 generated). -Alan.



More information about the security-dev mailing list