java - compiler output (.class files) differs if sources were compiled in different directories -


i have following problem: while compiling set of classes different .class files generated if compilation executed in different directories. diff between generated .class files following:

1) version:

1062: aload_3 1063: invokevirtual <some_method> 1066: goto 1078 1069: astore 15 1071: aload_3 1072: invokevirtual <some_method> 1075: aload 15 1077: athrow 1078: aload_3 1079: areturn 

2) version:

1062: jsr 1076 1065: goto 1084 1068: astore 15 1070: jsr 1076 1073: aload 15 1075: athrow 1076: astore 16 1078: aload_3 1079: invokevirtual <some_method> 1082: ret 16 1084: aload_3 1085: areturn 

above code has same execution logic. unfortunately, have have explanation why compiler behaves way. strange, when compiling in same directory, same sources, difference between consecutive compilations occurs (always same, mentioned above).

any idea happens? in advance response!

does class use methods or classes have package level scope? account differences.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -