Re: Revisiting "lost codebases"

"Christopher G. Stach II" <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
cowwoc wrote:
>         Which brings up the question: Does anyone have a better idea for how to
> determine whether two classes are the same version? One can't even hash
> the source-code because whitespace could have changed.
>
>         I define "same version" meaning that the interface *and* the
> implementation is the same.
>
> Gili

You'd probably want to build an AST of the source and hash that.

--
Christopher G. Stach II

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.