# HG changeset patch # User prr # Date 1401224280 25200 # Node ID fb7374c4fd87ad9b42f2f062988c6de07788a042 # Parent 080de8ffa3f676c6a0e82ae700e697ecd6224ac8# Parent b3bf9c82a050911fb5c10ee48cf9a0a391f3f45c Merge diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/make/CompileJavaClasses.gmk --- a/jdk/make/CompileJavaClasses.gmk Tue May 27 12:50:51 2014 -0700 +++ b/jdk/make/CompileJavaClasses.gmk Tue May 27 13:58:00 2014 -0700 @@ -38,7 +38,7 @@ ########################################################################################## -EXCLUDES += com/sun/pept \ +EXCLUDES += \ com/sun/tools/example/trace \ com/sun/tools/example/debug/bdi \ com/sun/tools/example/debug/event \ diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/jndi/ldap/Connection.java --- a/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Tue May 27 12:50:51 2014 -0700 +++ b/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Tue May 27 13:58:00 2014 -0700 @@ -474,7 +474,7 @@ } if ((rber == null) && waited) { - removeRequest(ldr); + abandonRequest(ldr, null); throw new NamingException("LDAP response read timed out, timeout used:" + readTimeout + "ms." ); diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/Delegate.java --- a/jdk/src/share/classes/com/sun/pept/Delegate.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Delegate.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept; - -import com.sun.pept.presentation.MessageStruct; -import java.util.*; - -/** - *
- * - * @author Dr. Harold Carr - *
- */ -public interface Delegate { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a MessageStruct with ... - *
- */ - public MessageStruct getMessageStruct(); -/** - *- * Does ... - *
- * - *
- * - * @param message ... - *
- */ - public void send(MessageStruct message); - -} // end Delegate diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/encoding/Decoder.java --- a/jdk/src/share/classes/com/sun/pept/encoding/Decoder.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Decoder.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.encoding; - -import com.sun.pept.ept.MessageInfo; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Decoder { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void decode(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void receiveAndDecode(MessageInfo messageInfo); - -} // end Decoder diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/encoding/Encoder.java --- a/jdk/src/share/classes/com/sun/pept/encoding/Encoder.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Encoder.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.encoding; - -import com.sun.pept.ept.MessageInfo; -import java.nio.ByteBuffer; -import java.util.*; - -/** - *- * - * @author Arun Gupta - *
- */ -public interface Encoder { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void encodeAndSend(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - * @return a ByteBuffer with ... - *
- * @param messageInfo ... - *
- */ - public ByteBuffer encode(MessageInfo messageInfo); - -} // end Encoder diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/Acceptor.java --- a/jdk/src/share/classes/com/sun/pept/ept/Acceptor.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,54 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Acceptor.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Acceptor extends EPTFactory { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- */ - public void accept(); - -} // end Acceptor diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/ContactInfo.java --- a/jdk/src/share/classes/com/sun/pept/ept/ContactInfo.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "ContactInfo.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import com.sun.pept.transport.Connection; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface ContactInfo extends EPTFactory { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a Connection with ... - *
- * @param messageInfo ... - *
- */ - public Connection getConnection(MessageInfo messageInfo); - -} // end ContactInfo diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/ContactInfoList.java --- a/jdk/src/share/classes/com/sun/pept/ept/ContactInfoList.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "ContactInfoList.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface ContactInfoList { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a ContactInfoListIterator with ... - *
- */ - public ContactInfoListIterator iterator(); - -} // end ContactInfoList diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/ContactInfoListIterator.java --- a/jdk/src/share/classes/com/sun/pept/ept/ContactInfoListIterator.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "ContactInfoListIterator.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface ContactInfoListIterator { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a boolean with ... - *
- */ - public boolean hasNext(); -/** - *- * Does ... - *
- * - * @return a ContactInfo with ... - *
- */ - public ContactInfo next(); - -} // end ContactInfoListIterator diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/EPTFactory.java --- a/jdk/src/share/classes/com/sun/pept/ept/EPTFactory.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,106 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "EPTFactory.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import com.sun.pept.encoding.Decoder; -import com.sun.pept.encoding.Encoder; -import com.sun.pept.presentation.TargetFinder; -import com.sun.pept.protocol.Interceptors; -import com.sun.pept.protocol.MessageDispatcher; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface EPTFactory { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a MessageDispatcher with ... - *
- * @param messageInfo ... - *
- */ - public MessageDispatcher getMessageDispatcher(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - * @return a Encoder with ... - *
- * @param messageInfo ... - *
- */ - public Encoder getEncoder(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - * @return a Decoder with ... - *
- * @param messageInfo ... - *
- */ - public Decoder getDecoder(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - * @return a Interceptors with ... - *
- * @param x ... - *
- */ - public Interceptors getInterceptors(MessageInfo x); -/** - *- * Does ... - *
- * - * @return a TargetFinder with ... - *
- * @param x ... - *
- */ - public TargetFinder getTargetFinder(MessageInfo x); - -} // end EPTFactory diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/ept/MessageInfo.java --- a/jdk/src/share/classes/com/sun/pept/ept/MessageInfo.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,151 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "MessageInfo.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.ept; - -import com.sun.pept.encoding.Decoder; -import com.sun.pept.encoding.Encoder; -import com.sun.pept.presentation.MessageStruct; -import com.sun.pept.protocol.MessageDispatcher; -import com.sun.pept.transport.Connection; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface MessageInfo extends MessageStruct { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a EPTFactory with ... - *
- */ - public EPTFactory getEPTFactory(); -/** - *- * Does ... - *
- * - * @return a MessageDispatcher with ... - *
- */ - public MessageDispatcher getMessageDispatcher(); -/** - *- * Does ... - *
- * - * @return a Encoder with ... - *
- */ - public Encoder getEncoder(); -/** - *- * Does ... - *
- * - * @return a Decoder with ... - *
- */ - public Decoder getDecoder(); -/** - *- * Does ... - *
- * - * @return a Connection with ... - *
- */ - public Connection getConnection(); -/** - *- * Does ... - *
- * - *
- * - * @param eptFactory ... - *
- */ - public void setEPTFactory(EPTFactory eptFactory); -/** - *- * Does ... - *
- * - *
- * - * @param messageDispatcher ... - *
- */ - public void setMessageDispatcher(MessageDispatcher messageDispatcher); -/** - *- * Does ... - *
- * - *
- * - * @param encoder ... - *
- */ - public void setEncoder(Encoder encoder); -/** - *- * Does ... - *
- * - *
- * - * @param decoder ... - *
- */ - public void setDecoder(Decoder decoder); -/** - *- * Does ... - *
- * - *
- * - * @param connection ... - *
- */ - public void setConnection(Connection connection); - -} // end MessageInfo diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/presentation/MessageStruct.java --- a/jdk/src/share/classes/com/sun/pept/presentation/MessageStruct.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,223 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "MessageStruct.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.presentation; - -import java.util.*; -import java.lang.reflect.Method; -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface MessageStruct { - - /////////////////////////////////////// - //attributes - - -/** - *- * Represents ... - *
- */ - public static final int NORMAL_RESPONSE = 0; - -/** - *- * Represents ... - *
- */ - public static final int CHECKED_EXCEPTION_RESPONSE = 1; - -/** - *- * Represents ... - *
- */ - public static final int UNCHECKED_EXCEPTION_RESPONSE = 2; - -/** - *- * Represents ... - *
- */ - public static final int REQUEST_RESPONSE_MEP = 1; - -/** - *- * Represents ... - *
- */ - public static final int ONE_WAY_MEP = 2; - -/** - *- * Represents ... - *
- */ - public static final int ASYNC_POLL_MEP = 3; - -/** - *- * Represents ... - *
- */ - public static final int ASYNC_CALLBACK_MEP = 4; - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @param data ... - *
- * - *
- */ - public void setData(Object[] data); -/** - *- * Does ... - *
- * - * @return a Object[] with ... - *
- */ - public Object[] getData(); -/** - *- * Does ... - *
- * - *
- * - * @param name ... - *
- * @param value ... - *
- */ - public void setMetaData(Object name, Object value); -/** - *- * Does ... - *
- * - * @return a Object with ... - *
- * @param name ... - *
- */ - public Object getMetaData(Object name); -/** - *- * Does ... - *
- * - *
- * - * @param messageExchangePattern ... - *
- */ - public void setMEP(int messageExchangePattern); -/** - *- * Does ... - *
- * - * @return a int with ... - *
- */ - public int getMEP(); -/** - *- * Does ... - *
- * - * @return a int with ... - *
- */ - public int getResponseType(); -/** - *- * Does ... - *
- * - *
- * - * @param responseType ... - *
- */ - public void setResponseType(int responseType); -/** - *- * Does ... - *
- * - * @return a Object with ... - *
- */ - public Object getResponse(); -/** - *- * Does ... - *
- * - *
- * - * @param response ... - *
- */ - public void setResponse(Object response); -/** - *- * Does ... - *
- * - *
- * - * @param method ... - *
- */ - public void setMethod(Method method); -/** - *- * Does ... - *
- * - * @return a Method with ... - *
- */ - public Method getMethod(); - -} // end MessageStruct diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/presentation/Stub.java --- a/jdk/src/share/classes/com/sun/pept/presentation/Stub.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Stub.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.presentation; - -import com.sun.pept.Delegate; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Stub { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param delegate ... - *
- */ - public void _setDelegate(Delegate delegate); -/** - *- * Does ... - *
- * - * @return a Delegate with ... - *
- */ - public Delegate _getDelegate(); - -} // end Stub diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/presentation/TargetFinder.java --- a/jdk/src/share/classes/com/sun/pept/presentation/TargetFinder.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "TargetFinder.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.presentation; - -import com.sun.pept.ept.MessageInfo; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface TargetFinder { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - * @return a Tie with ... - *
- * @param x ... - *
- */ - public Tie findTarget(MessageInfo x); - -} // end TargetFinder diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/presentation/Tie.java --- a/jdk/src/share/classes/com/sun/pept/presentation/Tie.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** Java interface "Tie.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.presentation; - -import com.sun.pept.ept.MessageInfo; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Tie { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param servant ... - *
- */ - public void _setServant(Object servant); -/** - *- * Does ... - *
- * - * @return a Object with ... - *
- */ - public Object _getServant(); -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void _invoke(MessageInfo messageInfo); - -} // end Tie diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/protocol/Interceptors.java --- a/jdk/src/share/classes/com/sun/pept/protocol/Interceptors.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** - * $Id: Interceptors.java,v 1.1 2005/05/23 22:09:18 bbissett Exp $ - */ - -/** Java interface "Interceptors.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.protocol; - -import com.sun.pept.ept.MessageInfo; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Interceptors { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void interceptMessage(MessageInfo messageInfo); - -} // end Interceptors diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/protocol/MessageDispatcher.java --- a/jdk/src/share/classes/com/sun/pept/protocol/MessageDispatcher.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** - * $Id: MessageDispatcher.java,v 1.1 2005/05/23 22:09:18 bbissett Exp $ - */ - -/** Java interface "MessageDispatcher.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.protocol; - -import com.sun.pept.ept.MessageInfo; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface MessageDispatcher { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void send(MessageInfo messageInfo); -/** - *- * Does ... - *
- * - *
- * - * @param messageInfo ... - *
- */ - public void receive(MessageInfo messageInfo); - -} // end MessageDispatcher diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/pept/transport/Connection.java --- a/jdk/src/share/classes/com/sun/pept/transport/Connection.java Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +0,0 @@ -/* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/** - * $Id: Connection.java,v 1.2 2005/07/23 04:09:58 kohlert Exp $ - */ - -/** Java interface "Connection.java" generated from Poseidon for UML. - * Poseidon for UML is developed by Gentleware. - * Generated with velocity template engine. - */ -package com.sun.pept.transport; - -import com.sun.pept.ept.EPTFactory; -import java.nio.ByteBuffer; -import java.util.*; - -/** - *- * - * @author Dr. Harold Carr - *
- */ -public interface Connection { - - /////////////////////////////////////// - // operations - -/** - *- * Does ... - *
- * - *
- * - * @param byteBuffer ... - *
- */ - public void write(ByteBuffer byteBuffer); -/** - *- * Does ... - *
- * - * @return a EPTFactory with ... - *
- */ - public EPTFactory getEPTFactory(); -/** - *- * Does ... - *
- * - * @return a int with ... - *
- * @param byteBuffer ... - *
- */ - public int read(ByteBuffer byteBuffer); -/** - *- * Does ... - *
- * - *
- */ - public ByteBuffer readUntilEnd(); - -} // end Connection diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/tools/hat/MANIFEST.mf --- a/jdk/src/share/classes/com/sun/tools/hat/MANIFEST.mf Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 -Main-Class: com.sun.tools.hat.Main diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/tools/hat/README.txt --- a/jdk/src/share/classes/com/sun/tools/hat/README.txt Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ --------------- -This HAT source originally came from the http://hat.dev.java.net site. - -The utility has been named 'jhat' in the JDK, it is basically the same tool. - -Q: Where do I make changes? In the JDK or hat.dev.java.net? - -A: It depends on whether the change is intended for the JDK jhat version only, - or expected to be given back to the java.net project. - In general, we should putback changes to the java.net project and - bringover those changes to the JDK. - -Q: I want to build just jhat.jar instead of building entire JDK. What should I do? - -A: Use ant makefile (build.xml) in the current directory. This builds just the -jhat sources and creates jhat.jar under ./build directory. - -To run the built jhat.jar, you can use the command: - - java -jar build/jhat.jar heap_dump diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/com/sun/tools/hat/build.xml --- a/jdk/src/share/classes/com/sun/tools/hat/build.xml Tue May 27 12:50:51 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - - - - - -
@@ -1374,7 +1376,7 @@
}
/*non-public*/
- MethodHandle bindArgument(int pos, char basicType, Object value) {
+ MethodHandle bindArgument(int pos, BasicType basicType, Object value) {
// Override this if it can be improved.
return rebind().bindArgument(pos, basicType, value);
}
@@ -1382,26 +1384,7 @@
/*non-public*/
MethodHandle bindReceiver(Object receiver) {
// Override this if it can be improved.
- return bindArgument(0, 'L', receiver);
- }
-
- /*non-public*/
- MethodHandle bindImmediate(int pos, char basicType, Object value) {
- // Bind an immediate value to a position in the arguments.
- // This means, elide the respective argument,
- // and replace all references to it in NamedFunction args with the specified value.
-
- // CURRENT RESTRICTIONS
- // * only for pos 0 and UNSAFE (position is adjusted in MHImpl to make API usable for others)
- assert pos == 0 && basicType == 'L' && value instanceof Unsafe;
- MethodType type2 = type.dropParameterTypes(pos, pos + 1); // adjustment: ignore receiver!
- LambdaForm form2 = form.bindImmediate(pos + 1, basicType, value); // adjust pos to form-relative pos
- return copyWith(type2, form2);
- }
-
- /*non-public*/
- MethodHandle copyWith(MethodType mt, LambdaForm lf) {
- throw new InternalError("copyWith: " + this.getClass());
+ return bindArgument(0, L_TYPE, receiver);
}
/*non-public*/
diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java Tue May 27 12:50:51 2014 -0700
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java Tue May 27 13:58:00 2014 -0700
@@ -412,7 +412,7 @@
@Override
- MethodHandle bindArgument(int pos, char basicType, Object value) {
+ MethodHandle bindArgument(int pos, BasicType basicType, Object value) {
return asFixedArity().bindArgument(pos, basicType, value);
}
diff -r 080de8ffa3f6 -r fb7374c4fd87 jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java Tue May 27 12:50:51 2014 -0700
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java Tue May 27 13:58:00 2014 -0700
@@ -78,7 +78,7 @@
// The JVM calls MethodHandleNatives.