Replies: 1 comment
-
Sure, something like debug attributes yes/no.
Yes, depending on compiler settings it might produce different bytecode if target JDKs have different (changed) API's.
Depending on compiler settings it might inherit system/user dependent encoding for reading files. So if environment changes, produced bytecode might be different.
Sure. Compiler bugs may be fixed, bytecode generated might change for various reasons (e. g. anonymous class definition order etc)
Assuming system has different set of resources (free RAM, free disk space etc) during different runs, compilation with identical other parameters might produce different results (only subset of, because it could fail earlier due OOM or unable to write some classes). Note: for all the above, I assumed classpath / modulepath dependencies do not change (physically same files). |
Beta Was this translation helpful? Give feedback.
-
Given I have the same source file and compile it multiple times, under what circumstances I could expect a reproducible result?
Does it depend on
target
Beta Was this translation helpful? Give feedback.
All reactions