Commit cf76e415 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Recognize .kjx as a valid extension.

parent 27be465d
Pipeline #91345 passed with stages
in 5 minutes and 57 seconds
......@@ -78,7 +78,9 @@ public final class PathSuiteManager
continue;
String fn = p.getFileName().toString();
if (fn.endsWith(".jar") || fn.endsWith(".JAR"))
if (fn.endsWith(".jar") || fn.endsWith(".JAR") ||
fn.endsWith(".jam") || fn.endsWith(".JAM") ||
fn.endsWith(".kjx") || fn.endsWith(".KJX"))
rv.add(fn);
}
}
......
......@@ -577,6 +577,7 @@ public abstract class VMFactory
// Not a known extension or normalized type
if (!(__name.endsWith(".jar") || __name.endsWith(".JAR") ||
__name.endsWith(".sqc") || __name.endsWith(".SQC") ||
__name.endsWith(".kjx") || __name.endsWith(".KJX") ||
__name.endsWith(".jam") || __name.endsWith(".JAM")))
return __name;
......
......@@ -53,7 +53,9 @@ public final class __JarWalker__
{
// If this is a JAR, we will grab it
String fn = __path.getFileName().toString();
if (fn.endsWith(".jar") || fn.endsWith(".JAR"))
if (fn.endsWith(".jar") || fn.endsWith(".JAR") ||
fn.endsWith(".kjx") || fn.endsWith(".KJX") ||
fn.endsWith(".jam") || fn.endsWith(".JAM"))
this._files.add(__path.toString());
// The default way is to just handle it
......
......@@ -98,7 +98,8 @@ public final class SuiteScanner
// Ignore non-JARs
String libPath = JarPackageShelf.libraryPath(jar);
if (!libPath.endsWith(".jar") && !libPath.endsWith(".JAR"))
if (!libPath.endsWith(".jar") && !libPath.endsWith(".JAR") &&
!libPath.endsWith(".kjx") && !libPath.endsWith(".KJX"))
continue;
// Debug
......
......@@ -162,7 +162,8 @@ public class JarClassLibrary
if (__s == null)
throw new NullPointerException("NARG");
return __s.endsWith(".jar") || __s.endsWith(".JAR");
return __s.endsWith(".jar") || __s.endsWith(".JAR") ||
__s.endsWith(".kjx") || __s.endsWith(".KJX");
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment