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 17 jdk.jdeps.jmod - JDeps Tool
JDK 17 jdk.jdeps.jmod is the JMOD file for JDK 17 JDeps tool, which can be invoked by the "jdeps" command.
JDK 17 JDeps tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jdeps.jmod.
JDK 17 JDeps tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JDeps tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jdeps.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/classfile/Attributes.java
/* * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.classfile; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /* * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or * deletion without notice.</b> */ public class Attributes implements Iterable<Attribute> { public final Attribute[] attrs; public final Map<String, Attribute> map; Attributes(ClassReader cr) throws IOException { map = new HashMap<>(); int attrs_count = cr.readUnsignedShort(); attrs = new Attribute[attrs_count]; for (int i = 0; i < attrs_count; i++) { Attribute attr = Attribute.read(cr); attrs[i] = attr; try { map.put(attr.getName(cr.getConstantPool()), attr); } catch (ConstantPoolException e) { // don't enter invalid names in map } } } public Attributes(ConstantPool constant_pool, Attribute[] attrs) { this.attrs = attrs; map = new HashMap<>(); for (Attribute attr : attrs) { try { map.put(attr.getName(constant_pool), attr); } catch (ConstantPoolException e) { // don't enter invalid names in map } } } public Attributes(Map<String, Attribute> attributes) { this.attrs = attributes.values().toArray(new Attribute[attributes.size()]); map = attributes; } public Iterator<Attribute> iterator() { return Arrays.asList(attrs).iterator(); } public Attribute get(int index) { return attrs[index]; } public Attribute get(String name) { return map.get(name); } public int getIndex(ConstantPool constant_pool, String name) { for (int i = 0; i < attrs.length; i++) { Attribute attr = attrs[i]; try { if (attr != null && attr.getName(constant_pool).equals(name)) return i; } catch (ConstantPoolException e) { // ignore invalid entries } } return -1; } public int size() { return attrs.length; } public int byteLength() { int length = 2; for (Attribute a: attrs) length += a.byteLength(); return length; } }
⏎ com/sun/tools/classfile/Attributes.java
Or download all of them as a single archive file:
File name: jdk.jdeps-17.0.5-src.zip File size: 258425 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jdi.jmod - JDI Tool
2023-04-17, 5926👍, 0💬
Popular Posts:
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...