Home arrow static arrow Java Programming [Archive] - Check binary compatibility between 2 Jars
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Check binary compatibility between 2 Jars
This topic has 2 replies on 1 page.

Posts:10
Registered: 8/16/99
Check binary compatibility between 2 Jars  
Jun 29, 2004 1:13 AM



 
Hello,
we have a Java API to our repository product. Is there a way to check binary compatibility between different versions of that API? The problem is that the interfaces evolve and sometimes changes are necessary. So we already had the problem that different versions are incompatible.

I found just one tool: japitool. But it does not detect the latest problem we have.

Thanks in advance
Torsten
 

Posts:8,813
Registered: 10/4/00
Re: Check binary compatibility between 2 Jars  
Jun 29, 2004 1:18 AM (reply 1 of 2)



 
I'm not sure what you mean by 'binary compatibility'. Could you just read the classes as a byte stream?
 

Posts:10
Registered: 8/16/99
Re: Check binary compatibility between 2 Jars  
Jun 29, 2004 1:40 AM (reply 2 of 2)



 
I mean the facts and rules described in chapter 13 of the Java language specification (Binary Compatibility; http://java.sun.com/docs/books/jls/second_edition/html/binaryComp.doc.html#44872).

Torsten
 
This topic has 2 replies on 1 page.