Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 jdk.scripting.nashorn.shell.jmod - Scripting Nashorn Shell Module
JDK 11 jdk.scripting.nashorn.shell.jmod is the JMOD file for JDK 11 Scripting Nashorn Shell module.
JDK 11 Scripting Nashorn Shell module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.scripting.nashorn.shell.jmod.
JDK 11 Scripting Nashorn Shell module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Scripting Nashorn Shell module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.scripting.nashorn.shell.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/nashorn/tools/jjs/JrtPackagesHelper.java
/* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.nashorn.tools.jjs; import java.io.IOException; import java.net.URI; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Path; import java.util.HashSet; import java.util.Set; import jdk.nashorn.internal.runtime.Context; /** * A java packages helper that uses jrt file system. */ final class JrtPackagesHelper extends PackagesHelper { private final FileSystem jrtfs; /** * Construct a new JrtPackagesHelper. * * @param context the current Nashorn Context */ JrtPackagesHelper(final Context context) throws IOException { super(context); jrtfs = FileSystems.getFileSystem(URI.create("jrt:/")); } @Override void close() throws IOException { } @Override Set<String> listPackage(final String pkg) throws IOException { final Set<String> props = new HashSet<>(); // look for the /packages/<package_name> directory Path pkgDir = jrtfs.getPath("/packages/" + pkg); if (Files.exists(pkgDir)) { String pkgSlashName = pkg.replace('.', '/'); try (DirectoryStream<Path> ds = Files.newDirectoryStream(pkgDir)) { // it has module links under which this package occurs for (Path mod : ds) { // get the package directory under /modules Path pkgUnderMod = jrtfs.getPath(mod.toString() + "/" + pkgSlashName); try (DirectoryStream<Path> ds2 = Files.newDirectoryStream(pkgUnderMod)) { for (Path p : ds2) { String str = p.getFileName().toString(); // get rid of ".class", if any if (str.endsWith(".class")) { final String clsName = str.substring(0, str.length() - ".class".length()); if (clsName.indexOf('$') == -1 && isClassAccessible(pkg + "." + clsName)) { props.add(str); } } else if (isPackageAccessible(pkg + "." + str)) { props.add(str); } } } } } } return props; } }
⏎ jdk/nashorn/tools/jjs/JrtPackagesHelper.java
Or download all of them as a single archive file:
File name: jdk.scripting.nashorn.shell-11.0.1-src.zip File size: 22002 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.sctp.jmod - SCTP Module
⇐ JDK 11 jdk.scripting.nashorn.jmod - Scripting Nashorn Module
2019-12-02, 5941👍, 0💬
Popular Posts:
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...