On 5/06/2026 5:10 pm, Colin Paice wrote:
I think the shared code checks the cache object is the same as the disk
object, possibly, date, size and check sum, but I'm not sure
It needs to check that the compiled code matches the java bytecode. I don't know how it would do that - not more cheaply than compiling the code, anyway. Complicated by the fact that there's no standard compiled version of the code - Java will make different optimizations based on observation of the running program. It does do some checks - date, module signatures, version etc. but if you don't trust the source they can all be modified.

--
Andrew Rowley
Black Hill Software


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to