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 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/beans/finder/InstanceFinder.java
/* * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.beans.finder; /** * This is utility class that provides basic functionality * to find an auxiliary class for a JavaBean specified by its type. * * @since 1.7 * * @author Sergey A. Malenkov */ class InstanceFinder<T> { private static final String[] EMPTY = { }; private final Class<? extends T> type; private final boolean allow; private final String suffix; private volatile String[] packages; InstanceFinder(Class<? extends T> type, boolean allow, String suffix, String... packages) { this.type = type; this.allow = allow; this.suffix = suffix; this.packages = packages.clone(); } public String[] getPackages() { return this.packages.clone(); } public void setPackages(String... packages) { this.packages = (packages != null) && (packages.length > 0) ? packages.clone() : EMPTY; } public T find(Class<?> type) { if (type == null) { return null; } String name = type.getName() + this.suffix; T object = instantiate(type, name); if (object != null) { return object; } if (this.allow) { object = instantiate(type, null); if (object != null) { return object; } } int index = name.lastIndexOf('.') + 1; if (index > 0) { name = name.substring(index); } for (String prefix : this.packages) { object = instantiate(type, prefix, name); if (object != null) { return object; } } return null; } @SuppressWarnings("deprecation") protected T instantiate(Class<?> type, String name) { if (type != null) { try { if (name != null) { type = ClassFinder.findClass(name, type.getClassLoader()); } if (this.type.isAssignableFrom(type)) { @SuppressWarnings("unchecked") T tmp = (T) type.newInstance(); return tmp; } } catch (Exception exception) { // ignore any exceptions } } return null; } protected T instantiate(Class<?> type, String prefix, String name) { return instantiate(type, prefix + '.' + name); } }
⏎ com/sun/beans/finder/InstanceFinder.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 193186👍, 5💬
Popular Posts:
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...
What Is jms.jar? I heard it's related to JMS (Java Message Service) 1.1? The if you have an jms.jar ...