Skip to main content

How to do Signature Test for JSRs in TCK using sigTool?

3 replies [Last post]
murali_reddy219
Offline
Joined: 2007-10-25
Points: 0

Hi,

Can any one please tell how can we do signature test for new JSRs in TCK using SigTool?
I am not able to understand the signature Tool User Guide.

Thanks & Regards
Muralidhar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ersh
Offline
Joined: 2006-10-18
Points: 0

> Can any one please tell how can we do signature test
> for new JSRs in TCK using SigTool?
> I am not able to understand the signature Tool User
> Guide.

Hi Muralidhar,

Sigtest is a tool for checking for API binary and source code compatibility. It compares reference implementation and licensee's implementation of the same API. To say briefly sigtest has two main modes - setup and test. Setup generates "signature file" based on reference implantation and test checks how compatible licensee's implementation with this file. Usually TCK ships with already prepared signature file(s).

If you have more specific questions or requests please ask us. The best for discuss sigtest is its forum at https://sigtest.dev.java.net/servlets/ProjectForumView

Thanks,

Mike

vsizikov
Offline
Joined: 2004-11-16
Points: 0

Hi Murali,

I've forwarded your question to the SigTest folks.

Thanks,
--Vladimir

vsizikov
Offline
Joined: 2004-11-16
Points: 0

From my perspective, the SigTest tool is very useful, especially in TCK-like test suites.

Essentially, based on the official spec classes/docs, the SigTest tool generates the signature files, and then these files are are used to validate the custom/ 3rd party implementations (checking that ALL API classes with all methods, with appropriate signatures are present).

Most Sun's TCKs do have the signature test in them included in one form or another.

Hopefully, the SigTest folks would provide much more info, if needed.

What would be good to start the discussion is to have some feedback from you: What did you find unclear or confusing in the User's Guide, what did you expect to find but didn't, etc.

Thanks,
--Vladimir