Revision: 2983 http://vexi.svn.sourceforge.net/vexi/?rev=2983&view=rev Author: mkpg2 Date: 2008-07-21 14:59:21 +0000 (Mon, 21 Jul 2008)
Log Message: ----------- Fix. Accidentally broke compatability with java 1.4 Modified Paths: -------------- trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java trunk/core/org.ibex.js/src/org/ibex/js/JSProxy.java Modified: trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java =================================================================== --- trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java 2008-07-21 14:59:03 UTC (rev 2982) +++ trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java 2008-07-21 14:59:21 UTC (rev 2983) @@ -567,7 +567,7 @@ return s; } Set _getKeySet() throws IOException{ - throw new IOException("Cannot list " + getClass().getSimpleName()); + throw new IOException("Cannot list " + getClass().getName()); } Modified: trunk/core/org.ibex.js/src/org/ibex/js/JSProxy.java =================================================================== --- trunk/core/org.ibex.js/src/org/ibex/js/JSProxy.java 2008-07-21 14:59:03 UTC (rev 2982) +++ trunk/core/org.ibex.js/src/org/ibex/js/JSProxy.java 2008-07-21 14:59:21 UTC (rev 2983) @@ -83,11 +83,11 @@ if(js == null) return null; if(js instanceof JSNumber){ if(js instanceof JSNumber.D) - return Double.valueOf(JSU.toDouble(js)); + return new Double(JSU.toDouble(js)); if(js instanceof JSNumber.L) - return Long.valueOf(JSU.toLong(js)); + return new Long(JSU.toLong(js)); if(js instanceof JSNumber.I) - return Integer.valueOf(JSU.toInt(js)); + return new Integer(JSU.toInt(js)); if(js instanceof JSNumber.B) return Boolean.valueOf(JSU.toBoolean(js)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn