diff core/src/luan/modules/Utils.java @ 258:4dfa86dbca45

rename "java:" to "classpath:" git-svn-id: https://luan-java.googlecode.com/svn/trunk@259 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 28 Oct 2014 20:38:04 +0000
parents 705d14f4d8ee
children f1f7d8c7e94e
line wrap: on
line diff
--- a/core/src/luan/modules/Utils.java	Tue Oct 28 03:05:37 2014 +0000
+++ b/core/src/luan/modules/Utils.java	Tue Oct 28 20:38:04 2014 +0000
@@ -83,8 +83,8 @@
 	public static URL toUrl(String path) {
 		if( path.indexOf(':') == -1 )
 			return null;
-		if( path.startsWith("java:") ) {
-			path = path.substring(5);
+		if( path.startsWith("classpath:") ) {
+			path = path.substring(10);
 			if( path.contains("//") )
 				return null;
 			URL url;