Guest User

Untitled

a guest
Aug 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. Is it possible for the same javac compiler to compile the same set of source files but produce class files of different checksums?
  2. <javac
  3. target="1.5"
  4. source="1.5"
  5. deprecation="on"
  6. fork="yes"
  7. optimize="true"
  8. debug="true"
  9. debuglevel="lines,vars,source">
  10.  
  11. <classpath>
  12. <fileset dir="${project.basedir}/../lib">
  13. <include name="**/*.jar" />
  14. <include name="**/*.zip" />
  15. </fileset>
  16. </classpath>
  17. </javac>
  18.  
  19. <plugin>
  20. <artifactId>maven-compiler-plugin</artifactId>
  21. <version>2.3.2</version>
  22. <executions>
  23. <execution>
  24. <id>compile</id>
  25. <phase>compile</phase>
  26. <goals>
  27. <goal>compile</goal>
  28. </goals>
  29. <configuration>
  30. <target>1.5</target>
  31. <source>1.5</source>
  32. <debug>true</debug>
  33. <debuglevel>lines,vars,source</debuglevel>
  34. <showDeprecation>true</showDeprecation>
  35. <optimize>true</optimize>
  36. <fork>true</fork>
  37. <includes>
  38. ...
  39. </includes>
  40. </configuration>
  41. </execution>
  42. </executions>
  43. </plugin>
  44.  
  45. const #16 = class #108; // java/lang/Exception
  46. const #17 = Method #102.#109; // java/io/Writer.close:()V
  47. const #18 = Method #7.#109; // java/io/FileWriter.close:()V
  48.  
  49. const #16 = Method #102.#108; // java/io/Writer.close:()V
  50. const #17 = Method #7.#108; // java/io/FileWriter.close:()V
  51. const #18 = class #109; // java/lang/Exception
Add Comment
Please, Sign In to add comment