JDK 11 jdk.dynalink.jmod - Dynamic Linking Module

JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module.

JDK 11 Dynamic Linking module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.dynalink.jmod.

JDK 11 Dynamic Linking module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Dynamic Linking module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.dynalink.

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

✍: FYIcenter

jdk/dynalink/beans/LinkerServicesWithMissingMemberHandlerFactory.java

/*
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package jdk.dynalink.beans;

import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodType;
import java.util.function.Supplier;
import jdk.dynalink.SecureLookupSupplier;
import jdk.dynalink.linker.ConversionComparator.Comparison;
import jdk.dynalink.linker.GuardedInvocation;
import jdk.dynalink.linker.LinkRequest;
import jdk.dynalink.linker.LinkerServices;

final class LinkerServicesWithMissingMemberHandlerFactory implements LinkerServices {
    final LinkerServices linkerServices;
    final MissingMemberHandlerFactory missingMemberHandlerFactory;

    static LinkerServices get(final LinkerServices linkerServices, final MissingMemberHandlerFactory missingMemberHandlerFactory) {
        if (missingMemberHandlerFactory == null) {
            return linkerServices;
        }
        return new LinkerServicesWithMissingMemberHandlerFactory(linkerServices, missingMemberHandlerFactory);
    }

    private LinkerServicesWithMissingMemberHandlerFactory(final LinkerServices linkerServices, final MissingMemberHandlerFactory missingMemberHandlerFactory) {
        this.linkerServices = linkerServices;
        this.missingMemberHandlerFactory = missingMemberHandlerFactory;
    }

    @Override
    public MethodHandle asType(final MethodHandle handle, final MethodType fromType) {
        return linkerServices.asType(handle, fromType);
    }

    @Override
    public MethodHandle getTypeConverter(final Class<?> sourceType, final Class<?> targetType) {
        return linkerServices.getTypeConverter(sourceType, targetType);
    }

    @Override
    public boolean canConvert(final Class<?> from, final Class<?> to) {
        return linkerServices.canConvert(from, to);
    }

    @Override
    public GuardedInvocation getGuardedInvocation(final LinkRequest linkRequest) throws Exception {
        return linkerServices.getGuardedInvocation(linkRequest);
    }

    @Override
    public Comparison compareConversion(final Class<?> sourceType, final Class<?> targetType1, final Class<?> targetType2) {
        return linkerServices.compareConversion(sourceType, targetType1, targetType2);
    }

    @Override
    public MethodHandle filterInternalObjects(final MethodHandle target) {
        return linkerServices.filterInternalObjects(target);
    }

    @Override
    public <T> T getWithLookup(final Supplier<T> operation, final SecureLookupSupplier lookupSupplier) {
        return linkerServices.getWithLookup(operation, lookupSupplier);
    }
}

jdk/dynalink/beans/LinkerServicesWithMissingMemberHandlerFactory.java

 

JDK 11 jdk.editpad.jmod - Edit Pad Module

JDK 11 jdk.crypto.mscapi.jmod - Crypto MSCAPI Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-09, 2475👍, 0💬