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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/jmx/snmp/IPAcl/OwnerImpl.java
/* * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jmx.snmp.IPAcl; import java.util.Vector; import java.io.Serializable; import java.security.Principal; import java.security.acl.Owner; import java.security.acl.LastOwnerException; import java.security.acl.NotOwnerException; /** * Owner of Access Control Lists (ACLs). * The initial owner Principal should be specified as an * argument to the constructor of the class AclImpl. * * @see java.security.acl.Owner */ class OwnerImpl implements Owner, Serializable { private static final long serialVersionUID = -576066072046319874L; private Vector<Principal> ownerList = null; /** * Constructs an empty list of owner. */ public OwnerImpl (){ ownerList = new Vector<Principal>(); } /** * Constructs a list of owner with the specified principal as first element. * * @param owner the principal added to the owner list. */ public OwnerImpl (PrincipalImpl owner){ ownerList = new Vector<Principal>(); ownerList.addElement(owner); } /** * Adds an owner. Only owners can modify ACL contents. The caller principal * must be an owner of the ACL in order to invoke this method. That is, only * an owner can add another owner. The initial owner is configured at * ACL construction time. * * @param caller the principal invoking this method. * It must be an owner of the ACL. * @param owner the owner that should be added to the list of owners. * @return true if successful, false if owner is already an owner. * @exception NotOwnerException if the caller principal is not an owner * of the ACL. */ public boolean addOwner(Principal caller, Principal owner) throws NotOwnerException { if (!ownerList.contains(caller)) throw new NotOwnerException(); if (ownerList.contains(owner)) { return false; } else { ownerList.addElement(owner); return true; } } /** * Deletes an owner. If this is the last owner in the ACL, an exception is raised. *<P> * The caller principal must be an owner of the ACL in order to invoke this method. * * @param caller the principal invoking this method. It must be an owner * of the ACL. * @param owner the owner to be removed from the list of owners. * @return true if successful, false if owner is already an owner. * @exception NotOwnerException if the caller principal is not an owner * of the ACL. * @exception LastOwnerException if there is only one owner left, so that * deleteOwner would leave the ACL owner-less. */ public boolean deleteOwner(Principal caller, Principal owner) throws NotOwnerException,LastOwnerException { if (!ownerList.contains(caller)) throw new NotOwnerException(); if (!ownerList.contains(owner)){ return false; } else { if (ownerList.size() == 1) throw new LastOwnerException(); ownerList.removeElement(owner); return true; } } /** * Returns true if the given principal is an owner of the ACL. * * @param owner the principal to be checked to determine whether or * not it is an owner. * @return true if the given principal is an owner of the ACL. */ public boolean isOwner(Principal owner){ return ownerList.contains(owner); } }
⏎ com/sun/jmx/snmp/IPAcl/OwnerImpl.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 250703👍, 3💬
Popular Posts:
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...