java class differences



I've been given the task of trying to determine if some Java source code is the correct version of what is in production.
Previous people took the source code and compiled it and then compared it to the class they extracted from the production ear file.
There were slight differences but they said they were 99% the same. I'm not sure how they reached that conclusion.


My question is, is it possible that the production classes were compiled from this source? Are there any logical explanations for these minor discrepancies, such as different versions of compilers or different versions of j2ee.jar and struts.jar files?

Does anyone have a suggestion as to a better way to determine if the code is the correct version, such as decompiling it?

Thanks,
Tim
.



Relevant Pages

  • Re: Looking for Tetris
    ... A similar great effort of disassembling TURBO PASCAL was doing it for the ... converted from assembler source by hand. ... Since I am more or less specialised in compilers, I, of course, ... wondered about recreating the source code of TP3. ...
    (comp.os.cpm)
  • Re: Code management & deployment
    ... "Shane Mingins" wrote in message ... > I am using an ANT script to currently build and deploy the jar file to the ... check in source code to test ... move source code from test to production ...
    (comp.lang.java.help)
  • Code management & deployment
    ... I am writing some relatively small desktop applications. ... I can create a jnlp file that refers to the application jar file sitting on ... check in source code to test ... move source code from test to production ...
    (comp.lang.java.softwaretools)
  • Re: z/OS Cobol source libraries
    ... However, when I did, it seemed that most shops had 3rd product source code control systems - or at LEAST used SCLM. ... Production COBOL source code is stored in PDS libraries that are exclusively managed by Endevor. ... You must specify a "Processor" name when compiling a COBOL program into Endevor, because the processor script must be different for batch or CICS, for different COBOL compilers, for DB2 or non-DB2, and for Debugger support or no debugger support. ...
    (comp.lang.cobol)
  • Re: GOBACK (was: Perform Thru/Go to vs. Perform - Compile Speed
    ... >>desks do not use compilers. ... So what exactly do 'statistics' about empty desks with no source code ... or agency, or one that does bias, to show your assertion is wrong. ...
    (comp.lang.cobol)