JDK 17 jdk.jlink.jmod - JLink Tool

JDK 17 jdk.jlink.jmod is the JMOD file for JDK 17 JLink tool, which can be invoked by the "jlink" command.

JDK 17 JLink tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jlink.jmod.

JDK 17 JLink tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.

JDK 17 JLink tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jlink.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

jdk/tools/jlink/internal/plugins/PluginsResourceBundle.java

/*
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package jdk.tools.jlink.internal.plugins;

import java.text.MessageFormat;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;

public final class PluginsResourceBundle {

    static final String DESCRIPTION = "description";
    static final String ARGUMENT = "argument";
    static final String USAGE = "usage";
    private static final ResourceBundle pluginsBundle;

    static {
        Locale locale = Locale.getDefault();
        try {
            pluginsBundle = ResourceBundle.getBundle("jdk.tools.jlink."
                    + "resources.plugins", locale);
        } catch (MissingResourceException e) {
            throw new InternalError("Cannot find jlink resource bundle for "
                    + "locale " + locale);
        }
    }

    private PluginsResourceBundle() {
    }

    public static String getArgument(String name, Object... args) {
        return getMessage(name + "." + ARGUMENT, args);
    }

    public static String getDescription(String name) {
        return getMessage(name + "." + DESCRIPTION, name);
    }

    public static String getUsage(String name) {
        return getMessage(name + "." + USAGE, name);
    }

    public static String getOption(String name, String option) {
        return getMessage(name + "." + option);
    }

    public static String getMessage(String key, Object... args) throws MissingResourceException {
        return getMessage(pluginsBundle, key, args);
    }

    public static String getMessage(ResourceBundle bundle, String key, Object... args) throws MissingResourceException {
        String val = bundle.getString(key);
        return MessageFormat.format(val, args);
    }
}

jdk/tools/jlink/internal/plugins/PluginsResourceBundle.java

 

Or download all of them as a single archive file:

File name: jdk.jlink-17.0.5-src.zip
File size: 164180 bytes
Release date: 2022-09-13
Download 

 

JDK 17 jdk.jpackage.jmod - JPackage Tool

JDK 17 jdk.jfr.jmod - JFR Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-08-03, 3516👍, 0💬