From: <cg...@us...> - 2009-09-06 00:24:07
|
Revision: 6758 http://jython.svn.sourceforge.net/jython/?rev=6758&view=rev Author: cgroves Date: 2009-09-06 00:24:01 +0000 (Sun, 06 Sep 2009) Log Message: ----------- Add a comment to APIVersion explaining why it's accessed through getAPIVersion Modified Paths: -------------- branches/customizable-proxymaker/src/org/python/core/imp.java Modified: branches/customizable-proxymaker/src/org/python/core/imp.java =================================================================== --- branches/customizable-proxymaker/src/org/python/core/imp.java 2009-09-05 23:50:14 UTC (rev 6757) +++ branches/customizable-proxymaker/src/org/python/core/imp.java 2009-09-06 00:24:01 UTC (rev 6758) @@ -21,6 +21,12 @@ private static final String UNKNOWN_SOURCEFILE = "<unknown>"; + /** + * The version of compiled python source encoded into created bytecode. This is private and + * accessed externally through {@link #getAPIVersion()} as javac will hardcode the value of this + * in other classes that reference it, but won't update those classes if the version changes + * here. + */ private static final int APIVersion = 24; public static final int NO_MTIME = -1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |