JDK 17 jdk.incubator.foreign.jmod - JDK Incubator Foreign

JDK 17 jdk.incubator.foreign.jmod is the JMOD file for JDK 17 HTTP Server module.

JDK 17 Incubator Foreign module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.incubator.foreign.jmod.

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

JDK 17 Incubator Foreign module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.incubator.foreign.

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

✍: FYIcenter

jdk/internal/foreign/abi/x64/sysv/ArgumentClassImpl.java

/*
 * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package jdk.internal.foreign.abi.x64.sysv;

public enum ArgumentClassImpl {
    POINTER, INTEGER, SSE, SSEUP, X87, X87UP, COMPLEX_X87, NO_CLASS, MEMORY;

    public ArgumentClassImpl merge(ArgumentClassImpl other) {
        if (this == other) {
            return this;
        }

        if (other == NO_CLASS) {
            return this;
        }
        if (this == NO_CLASS) {
            return other;
        }

        if (this == MEMORY || other == MEMORY) {
            return MEMORY;
        }

        if (this == POINTER || other == POINTER) {
            return POINTER;
        }

        if (this == INTEGER || other == INTEGER) {
            return INTEGER;
        }

        if (this == X87 || this == X87UP || this == COMPLEX_X87) {
            return MEMORY;
        }
        if (other == X87 || other == X87UP || other == COMPLEX_X87) {
            return MEMORY;
        }

        return SSE;
    }

    public boolean isIntegral() {
        return this == INTEGER || this == POINTER;
    }

    public boolean isPointer() {
        return this == POINTER;
    }

    public boolean isIndirect() {
        return this == MEMORY;
    }
}

jdk/internal/foreign/abi/x64/sysv/ArgumentClassImpl.java

 

Or download all of them as a single archive file:

File name: jdk.incubator.foreign-17.0.5-src.zip
File size: 168767 bytes
Release date: 2022-09-13
Download 

 

JDK 17 jdk.incubator.vector.jmod - JDK Incubator Vector

JDK 17 jdk.httpserver.jmod - HTTP Server Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-10-04, 2973👍, 0💬