Skip to content

Commit

Permalink
JDK 1.8 src
Browse files Browse the repository at this point in the history
  • Loading branch information
zxiaofan committed Dec 2, 2015
0 parents commit 2212473
Show file tree
Hide file tree
Showing 7,729 changed files with 2,409,059 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin/
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JDK1.8-Src</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
13 changes: 13 additions & 0 deletions src/com/sun/corba/se/PortableActivationIDL/Activator.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.sun.corba.se.PortableActivationIDL;


/**
* com/sun/corba/se/PortableActivationIDL/Activator.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

public interface Activator extends ActivatorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface Activator
85 changes: 85 additions & 0 deletions src/com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
package com.sun.corba.se.PortableActivationIDL;


/**
* com/sun/corba/se/PortableActivationIDL/ActivatorHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

abstract public class ActivatorHelper
{
private static String _id = "IDL:PortableActivationIDL/Activator:1.0";

public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.Activator that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}

public static com.sun.corba.se.PortableActivationIDL.Activator extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}

private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ActivatorHelper.id (), "Activator");
}
return __typeCode;
}

public static String id ()
{
return _id;
}

public static com.sun.corba.se.PortableActivationIDL.Activator read (org.omg.CORBA.portable.InputStream istream)
{
return narrow (istream.read_Object (_ActivatorStub.class));
}

public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.Activator value)
{
ostream.write_Object ((org.omg.CORBA.Object) value);
}

public static com.sun.corba.se.PortableActivationIDL.Activator narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
else if (!obj._is_a (id ()))
throw new org.omg.CORBA.BAD_PARAM ();
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
stub._set_delegate(delegate);
return stub;
}
}

public static com.sun.corba.se.PortableActivationIDL.Activator unchecked_narrow (org.omg.CORBA.Object obj)
{
if (obj == null)
return null;
else if (obj instanceof com.sun.corba.se.PortableActivationIDL.Activator)
return (com.sun.corba.se.PortableActivationIDL.Activator)obj;
else
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
com.sun.corba.se.PortableActivationIDL._ActivatorStub stub = new com.sun.corba.se.PortableActivationIDL._ActivatorStub ();
stub._set_delegate(delegate);
return stub;
}
}

}
38 changes: 38 additions & 0 deletions src/com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package com.sun.corba.se.PortableActivationIDL;

/**
* com/sun/corba/se/PortableActivationIDL/ActivatorHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

public final class ActivatorHolder implements org.omg.CORBA.portable.Streamable
{
public com.sun.corba.se.PortableActivationIDL.Activator value = null;

public ActivatorHolder ()
{
}

public ActivatorHolder (com.sun.corba.se.PortableActivationIDL.Activator initialValue)
{
value = initialValue;
}

public void _read (org.omg.CORBA.portable.InputStream i)
{
value = com.sun.corba.se.PortableActivationIDL.ActivatorHelper.read (i);
}

public void _write (org.omg.CORBA.portable.OutputStream o)
{
com.sun.corba.se.PortableActivationIDL.ActivatorHelper.write (o, value);
}

public org.omg.CORBA.TypeCode _type ()
{
return com.sun.corba.se.PortableActivationIDL.ActivatorHelper.type ();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
package com.sun.corba.se.PortableActivationIDL;


/**
* com/sun/corba/se/PortableActivationIDL/ActivatorOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

public interface ActivatorOperations
{

/** A new ORB started server registers itself with the Activator
*/
void registerServer (String serverId, com.sun.corba.se.PortableActivationIDL.ServerProxy serverObj) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;

/** A server is shutting down that was started by this activator.
* Complete termination of the server is detected by the death of the
* process implementing the server.
*/
void serverGoingDown (String serverId);

/** Called whenever an ORB instance is created. This registers
* the transport endpoints and the ORB proxy callback object.
* Note that we cannot detect when an ORB shuts down, although
* all of the POA shutdowns should still be reported.
*/
void registerORB (String serverId, String orbId, com.sun.corba.se.PortableActivationIDL.ORBProxy orb, com.sun.corba.se.PortableActivationIDL.EndPointInfo[] endPointInfo) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.NoSuchEndPoint, com.sun.corba.se.PortableActivationIDL.ORBAlreadyRegistered;

/** Construct or find an ORBD object template corresponding to the
* server's object template and return it. Called whenever a
* persistent POA is created.
*/
org.omg.PortableInterceptor.ObjectReferenceTemplate registerPOA (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);

/** Called whenever a POA is destroyed.
*/
void poaDestroyed (String serverId, String orbId, org.omg.PortableInterceptor.ObjectReferenceTemplate poaTemplate);

/** If the server is not running, start it up. This is allowed
* whether or not the server has been installed.
*/
void activate (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerAlreadyActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown;

/** If the server is running, shut it down
*/
void shutdown (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotActive, com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;

/** Invoke the server install hook. If the server is not
* currently running, this method will activate it.
*/
void install (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyInstalled;

/** Invoke the server uninstall hook. If the server is not
* currently running, this method will activate it.
* After this hook completes, the server may still be running.
*/
void uninstall (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered, com.sun.corba.se.PortableActivationIDL.ServerHeldDown, com.sun.corba.se.PortableActivationIDL.ServerAlreadyUninstalled;

/** list active servers
*/
String[] getActiveServers ();

/** list all registered ORBs for a server
*/
String[] getORBNames (String serverId) throws com.sun.corba.se.PortableActivationIDL.ServerNotRegistered;

/** Find the server template that corresponds to the ORBD's
* adapter id.
*/
org.omg.PortableInterceptor.ObjectReferenceTemplate lookupPOATemplate (String serverId, String orbId, String[] orbAdapterName);
} // interface ActivatorOperations
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package com.sun.corba.se.PortableActivationIDL;


/**
* com/sun/corba/se/PortableActivationIDL/BadServerDefinition.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

public final class BadServerDefinition extends org.omg.CORBA.UserException
{
public String reason = null;

public BadServerDefinition ()
{
super(BadServerDefinitionHelper.id());
} // ctor

public BadServerDefinition (String _reason)
{
super(BadServerDefinitionHelper.id());
reason = _reason;
} // ctor


public BadServerDefinition (String $reason, String _reason)
{
super(BadServerDefinitionHelper.id() + " " + $reason);
reason = _reason;
} // ctor

} // class BadServerDefinition
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package com.sun.corba.se.PortableActivationIDL;


/**
* com/sun/corba/se/PortableActivationIDL/BadServerDefinitionHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u60/4407/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Tuesday, August 4, 2015 11:07:52 AM PDT
*/

abstract public class BadServerDefinitionHelper
{
private static String _id = "IDL:PortableActivationIDL/BadServerDefinition:1.0";

public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.BadServerDefinition that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}

public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}

private static org.omg.CORBA.TypeCode __typeCode = null;
private static boolean __active = false;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
org.omg.CORBA.TypeCode _tcOf_members0 = null;
_tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
_members0[0] = new org.omg.CORBA.StructMember (
"reason",
_tcOf_members0,
null);
__typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.PortableActivationIDL.BadServerDefinitionHelper.id (), "BadServerDefinition", _members0);
__active = false;
}
}
}
return __typeCode;
}

public static String id ()
{
return _id;
}

public static com.sun.corba.se.PortableActivationIDL.BadServerDefinition read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.PortableActivationIDL.BadServerDefinition value = new com.sun.corba.se.PortableActivationIDL.BadServerDefinition ();
// read and discard the repository ID
istream.read_string ();
value.reason = istream.read_string ();
return value;
}

public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.BadServerDefinition value)
{
// write the repository ID
ostream.write_string (id ());
ostream.write_string (value.reason);
}

}
Loading

0 comments on commit 2212473

Please sign in to comment.