org.jline.script.JrtJavaBasePackages Maven / Gradle / Ivy
/*
* Copyright (c) 2002-2023, the original author(s).
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*
* https://opensource.org/licenses/BSD-3-Clause
*/
package org.jline.script;
import java.io.IOException;
import java.net.URI;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import org.jline.utils.Log;
import static java.nio.file.FileVisitResult.CONTINUE;
/**
* Helper class to resolve java.base module classes
* @author Matti Rinta-Nikkola
*/
public class JrtJavaBasePackages {
public static List