diff --git a/contributor/jrunscript.fifty.ts b/contributor/jrunscript.fifty.ts
index 4e2331e7f..0a79decdc 100644
--- a/contributor/jrunscript.fifty.ts
+++ b/contributor/jrunscript.fifty.ts
@@ -35,6 +35,7 @@
fifty.load("../loader/jrunscript/expression.fifty.ts");
fifty.load("../loader/api/old/unit.fifty.ts");
fifty.load("../rhino/system/test/Packages.inonit.system.fifty.ts");
+ fifty.load("../rhino/system/java/inonit/script/runtime/io/Streams.fifty.ts");
fifty.load("../rhino/jrunscript/api.fifty.ts");
if (hasJsoup) fifty.load("../loader/document/module.fifty.ts");
fifty.load("../js/web/module.fifty.ts");
diff --git a/contributor/jrunscript.jsh.js b/contributor/jrunscript.jsh.js
index 703791611..9c9df045d 100644
--- a/contributor/jrunscript.jsh.js
+++ b/contributor/jrunscript.jsh.js
@@ -66,16 +66,9 @@
pathname: SRC.getRelativePath("loader/api.html")
}));
- suite.add("internal/jrunscript/main", new jsh.unit.html.Part({
- // Test cases of loader implementation
- // TODO redundant; now tested per-engine in contributor/suite.jsh.js
- pathname: SRC.getRelativePath("loader/jrunscript/api.html")
- }));
-
suite.add("internal/other", new jsh.unit.html.Part({
// Test cases involving the HTML test runner itself
pathname: SRC.getRelativePath("loader/api/test/data/1/api.html")
- // TODO loader/jrunscript/java has some tests
// TODO loader/jrunscript/test/data/2/ has some tests but they require some classes in classpath
}));
diff --git a/jrunscript/io/api.html b/jrunscript/io/api.html
index 0450cb3a5..30e9c97b9 100644
--- a/jrunscript/io/api.html
+++ b/jrunscript/io/api.html
@@ -71,7 +71,7 @@
Context
Exports
-
+
java
diff --git a/jrunscript/jsh/etc/api.js b/jrunscript/jsh/etc/api.js
index 47bca67fe..cf38d122b 100644
--- a/jrunscript/jsh/etc/api.js
+++ b/jrunscript/jsh/etc/api.js
@@ -52,7 +52,6 @@
components.add("js/debug/", { jsh: { module: true }});
components.add("loader/jrunscript/", { jsh: { api: true }});
- // TODO loader/jrunscript/java has some tests
// TODO loader/jrunscript/test/data/2/ has some tests but they require some classes in classpath
// TODO jrunscript/io/mime.api.html has some tests
diff --git a/loader/jrunscript/api.html b/loader/jrunscript/api.html
deleted file mode 100644
index c96f71bc5..000000000
--- a/loader/jrunscript/api.html
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
- SLIME Java Runtime
-
-
-
-
-
Overview
-
-
Properties
-
- The embedding for either engine creates an object which consists of the SLIME runtime
- augmented by a common set of Java-specific properties. The Java properties added are:
-
-
has properties:
-
-
-
- Loader
- supports SLIME Loader
-
- A SLIME Loader that additionally supports retrieving Java byte streams for resources.
-
-
- Extends the SLIME Loader constructor to allow additional types.
-
-
-
Arguments
-
-
-
has properties:
-
-
-
_source
- JavaClass inonit.script.engine.Code.Loader
- An object representing resources that can be loaded by this Loader.
-
-
- -OR-
-
has properties:
-
-
-
_code
- JavaClass inonit.script.engine.Code
-
- An object representing resources and Java classes that can be loaded by this
- Loader.
-
-
-
- -OR-
- An object that can return resources given paths.
-
has properties:
-
-
-
resources
-
has properties:
-
-
-
get
-
- Returns an implementation for a resource at the given path.
-
-
-
Arguments
-
-
- string
- A path.
-
-
-
-
-
-
Returns
- resource
-
- An argument for the Resource constructor that implements the
- resource at the given path, or null if no resource is
- located at the given path.
-
-
-
-
-
-
-
type
-
- (optional)
- A method that will be invoked (with the loader itself as this) to
- supply a MIME type for resources loaded by this loader.
-
-
-
Arguments
-
-
- string
- A path.
-
-
-
-
-
Returns
- MIME type
- A MIME type to use for the resource given at the given path.
-