public static final char[] fixLibPackageTail(char[] packageName) {

	if(packageName==null || packageName.length<3) return packageName;
	int length = packageName.length;
	if(    packageName[length-3]=='/' &&  (packageName[length-2]=='j' || packageName[length-2]=='J')  && (packageName[length-1]=='s' || packageName[length-1]=='S')){
		char[] newPname = packageName;
		newPname[length-3] = '.';
		return newPname;
	}
	return packageName;
}