David Jencks [Sun, 19 Feb 2017 01:27:51 +0000 (17:27 -0800)]
Merge IBM development contributiions. As it does not appear possible to alter the git log messages to include jira issue numbers, the git commit hashes will be added to the jira issues.
Alan Cabrera [Mon, 17 Oct 2016 16:39:35 +0000 (09:39 -0700)]
Update copyright notice
David Jencks [Mon, 15 Aug 2016 17:31:15 +0000 (13:31 -0400)]
Merge branch 'really-stop2' into 'ibm-trunk'
Arrive at phaser only after acceptor is shut down and closed
See merge request !73
David Jencks [Thu, 11 Aug 2016 22:42:03 +0000 (15:42 -0700)]
Arrive at phaser only after acceptor is shut down and closed
David Jencks [Thu, 11 Aug 2016 21:23:08 +0000 (17:23 -0400)]
Merge branch 'phaser-deregister' into 'ibm-trunk'
Correct phaser usage to deregister parties as they arrive
Without this, the phaser overflows after 64k connections. As there is only one party per executor, I don't deregister it, nor the server thread.
See merge request !72
David Jencks [Thu, 4 Aug 2016 18:45:57 +0000 (11:45 -0700)]
Correct phaser usage to deregister parties as they arrive
Neil GM Richards [Tue, 5 Jul 2016 16:10:34 +0000 (12:10 -0400)]
Merge branch 'tidy-ushort-conversions' into 'ibm-trunk'
Simplify conversion of unsigned short port numbers to int (convert via char)
See merge request !71
Neil GM Richards [Tue, 5 Jul 2016 16:09:24 +0000 (17:09 +0100)]
Simplify conversion of unsigned short port numbers to int (convert via char)
Neil GM Richards [Mon, 4 Jul 2016 16:31:31 +0000 (12:31 -0400)]
Merge branch 'connector-impl-construction' into 'ibm-trunk'
Correct calls to Connector_impl construction
See merge request !70
Neil GM Richards [Mon, 4 Jul 2016 16:21:53 +0000 (17:21 +0100)]
Correct calls to Connector_impl construction
Neil GM Richards [Tue, 21 Jun 2016 08:30:52 +0000 (04:30 -0400)]
Merge branch 'improve-singleton-init' into 'ibm-trunk'
Use initialization holder class idiom
See merge request !69
Neil GM Richards [Tue, 21 Jun 2016 08:28:17 +0000 (09:28 +0100)]
Use initialization holder class idiom
Neil GM Richards [Tue, 21 Jun 2016 02:02:47 +0000 (22:02 -0400)]
Merge branch 'nr.dev' into 'ibm-trunk'
Nr.dev
Further fixes for customer-reported problems
See merge request !68
Neil GM Richards [Tue, 21 Jun 2016 01:48:23 +0000 (02:48 +0100)]
Add extra check for connector helper setting in Connector_impl
Neil GM Richards [Tue, 21 Jun 2016 01:36:54 +0000 (02:36 +0100)]
Avoid duplicate processing with selective locking, improving performance.
Neil GM Richards [Mon, 20 Jun 2016 19:01:51 +0000 (20:01 +0100)]
Correct ValueMembers creation, caching for ValueDescriptor, ArrayDescriptor
Neil GM Richards [Mon, 20 Jun 2016 18:59:27 +0000 (19:59 +0100)]
Improve test coordination reducing use of Thread.sleep().
Neil GM Richards [Tue, 7 Jun 2016 14:27:57 +0000 (10:27 -0400)]
Merge branch 'Fix-bad-loops-in-Util' into 'ibm-trunk'
Removed incorrect loop counter in Util.
See merge request !67
Joe Chacko [Mon, 6 Jun 2016 15:56:42 +0000 (16:56 +0100)]
Removed incorrect loop counter in Util.
David Jencks [Wed, 11 May 2016 16:30:22 +0000 (12:30 -0400)]
Merge branch 'guard-slow-logging' into 'ibm-trunk'
Guard slow logging
See merge request !66
David Jencks [Tue, 10 May 2016 20:35:52 +0000 (13:35 -0700)]
Guard slow logging
Neil GM Richards [Sun, 27 Mar 2016 10:09:41 +0000 (06:09 -0400)]
Merge branch 'idl-entity-read' into 'ibm-trunk'
Correct helper read lookup
See merge request !65
Neil GM Richards [Sun, 27 Mar 2016 10:08:25 +0000 (11:08 +0100)]
Correct helper read lookup
Neil GM Richards [Sun, 27 Mar 2016 00:11:27 +0000 (20:11 -0400)]
Merge branch 'refix-typecode' into 'ibm-trunk'
Refix typecode
See merge request !64
Neil GM Richards [Sun, 27 Mar 2016 00:08:39 +0000 (00:08 +0000)]
Re-fix typeCode generation
Neil GM Richards [Sat, 26 Mar 2016 22:00:27 +0000 (22:00 +0000)]
Better encapsulate singleton TypeRepository, ValueHandlerImpl
Neil GM Richards [Sat, 26 Mar 2016 18:57:01 +0000 (18:57 +0000)]
Further rmi-impl refactoring
Neil GM Richards [Fri, 25 Mar 2016 11:51:17 +0000 (07:51 -0400)]
Merge branch 'enum-fix' into 'ibm-trunk'
Enum fix
See merge request !63
Neil GM Richards [Thu, 24 Mar 2016 01:42:06 +0000 (01:42 +0000)]
Use YASF negotiation to maintain stream compatibility when talking Enums to unfixed yoko
Neil GM Richards [Tue, 22 Mar 2016 14:57:40 +0000 (14:57 +0000)]
Tighten access to ModelElement fields
Neil GM Richards [Fri, 18 Mar 2016 17:09:24 +0000 (17:09 +0000)]
Encapsulate init of ModelElement fields and Descriptor repids
Neil GM Richards [Fri, 18 Mar 2016 15:25:50 +0000 (15:25 +0000)]
Introduce ModelElement.init() - use it for gathering idl_name
Neil GM Richards [Fri, 18 Mar 2016 14:01:16 +0000 (14:01 +0000)]
Improve ModelElement encapsulation
Neil GM Richards [Fri, 18 Mar 2016 12:10:06 +0000 (12:10 +0000)]
Add Enum support to FVD negotiation; Fix Enum transmission format
Neil GM Richards [Tue, 15 Mar 2016 17:30:02 +0000 (17:30 +0000)]
Handle java.lang.Enum itself via its own TypeDescriptor
Neil GM Richards [Tue, 15 Mar 2016 17:18:01 +0000 (17:18 +0000)]
Avoid writing out fields of Enum subclasses
Joseph Chacko [Wed, 11 Nov 2015 18:49:03 +0000 (13:49 -0500)]
Merge branch 'fix_gc_bug_in_test' into 'ibm-trunk'
Fix gc bug in test.
See merge request !62
Joe Chacko [Wed, 11 Nov 2015 18:47:55 +0000 (18:47 +0000)]
Fix gc bug in test.
Neil GM Richards [Wed, 11 Nov 2015 18:21:53 +0000 (13:21 -0500)]
Merge branch 'request_id_unique_to_connection' into 'ibm-trunk'
Request id unique to connection
See merge request !61
Neil Richards [Wed, 11 Nov 2015 18:19:19 +0000 (18:19 +0000)]
Force test to wait for system to enqueue references.
Joe Chacko [Wed, 11 Nov 2015 16:51:49 +0000 (16:51 +0000)]
Fix comments and improve method names.
Joe Chacko [Tue, 10 Nov 2015 00:43:34 +0000 (00:43 +0000)]
Make request id unique to connection.
Joseph Chacko [Thu, 29 Oct 2015 14:18:32 +0000 (10:18 -0400)]
Merge branch 'workaround_mockito' into 'ibm-trunk'
Removed unused constructor and fixed intermittent unit test failure
See merge request !60
Joe Chacko [Thu, 29 Oct 2015 14:01:12 +0000 (14:01 +0000)]
Removed unused constructor and fixed intermittent unit test failure
Joseph Chacko [Wed, 28 Oct 2015 19:51:56 +0000 (15:51 -0400)]
Merge branch 'connection_counting' into 'ibm-trunk'
Cache outbound connections with reference counting.
See merge request !59
Joe Chacko [Thu, 10 Sep 2015 13:18:51 +0000 (14:18 +0100)]
Cache outbound connections with reference counting.
Joseph Chacko [Mon, 24 Aug 2015 16:15:10 +0000 (12:15 -0400)]
Merge branch 'clean-up-connection-clean-up' into 'ibm-trunk'
Clean up connection clean up
See merge request !58
Neil Richards [Mon, 24 Aug 2015 16:06:16 +0000 (17:06 +0100)]
Refactored to use modern Java syntax and idiom
Neil GM Richards [Mon, 3 Aug 2015 12:44:43 +0000 (08:44 -0400)]
Merge branch 'support_skipped_fields' into 'ibm-trunk'
Support skipped fields
See merge request !57
Neil Richards [Mon, 3 Aug 2015 12:22:06 +0000 (13:22 +0100)]
Nobble failing test (for now)
Neil Richards [Tue, 28 Jul 2015 22:33:10 +0000 (23:33 +0100)]
Allow meta calls for classes with two self-references
Neil Richards [Tue, 21 Jul 2015 17:01:25 +0000 (18:01 +0100)]
Add failing FVD test
Neil GM Richards [Mon, 3 Aug 2015 09:02:26 +0000 (05:02 -0400)]
Merge branch 'reuse_remote_naming_contexts' into 'ibm-trunk'
Reuse remote naming contexts
See merge request !56
Neil Richards [Thu, 16 Jul 2015 11:20:30 +0000 (12:20 +0100)]
Reuse remote naming context servant
Changed POA policy to allow user-defined IDs
Published policies factory method on SPI
Adapted BindingIterator to generate its own servant ID
Neil GM Richards [Tue, 14 Jul 2015 09:19:59 +0000 (05:19 -0400)]
Merge branch 'npe_in_meta' into 'ibm-trunk'
Npe in meta
See merge request !55
Neil Richards [Tue, 14 Jul 2015 09:16:30 +0000 (10:16 +0100)]
Add testcase for fix in fvd generation.
Joseph Chacko [Thu, 9 Jul 2015 11:04:31 +0000 (07:04 -0400)]
Merge branch 'yoko_auxilliary_stream_format' into 'ibm-trunk'
Yoko auxilliary stream format
See merge request !54
Neil Richards [Tue, 7 Jul 2015 10:30:40 +0000 (11:30 +0100)]
Add Yoko Auxilliary Stream Format tagged component and service context
Neil Richards [Mon, 15 Jun 2015 15:58:07 +0000 (16:58 +0100)]
Fix bad recursion in getValueMembers()
Neil GM Richards [Mon, 8 Jun 2015 16:23:19 +0000 (12:23 -0400)]
Merge branch 'ueinfo_with_downcall_locking' into 'ibm-trunk'
Ueinfo with downcall locking
Clean up locking in Downcall to use java.util.concurrent.locks.
Unknown exception info service context was being unmarshalled on the wrong thread and did not have the correct class loading context.
TypeDescriptor caching was incorrect and allowed finding the wrong class in some circumstances.
FullValueDescription from ValueDescriptor incorrectly reported non-custom chunked types as custom, leading to errors when the client ORB tried to unmarshal the associated data.
See merge request !53
Neil Richards [Mon, 8 Jun 2015 15:35:11 +0000 (16:35 +0100)]
Correct is_custom information sent in FVD
Neil Richards [Fri, 5 Jun 2015 20:48:42 +0000 (21:48 +0100)]
Enhance TypeDescriptor caching / retrieval
Neil Richards [Fri, 5 Jun 2015 14:15:51 +0000 (15:15 +0100)]
Merge branch 'ibm-trunk' into ueinfo_with_downcall_locking
Neil Richards [Fri, 5 Jun 2015 14:13:26 +0000 (15:13 +0100)]
Defer unmarshalling UnknownExceptionInfo data
Neil GM Richards [Fri, 5 Jun 2015 13:52:41 +0000 (09:52 -0400)]
Merge branch 'shutdown-hole-1' into 'ibm-trunk'
Shutdown hole 1
See merge request !52
Neil Richards [Fri, 5 Jun 2015 11:00:01 +0000 (12:00 +0100)]
whitespace only
David Jencks [Fri, 5 Jun 2015 01:53:00 +0000 (21:53 -0400)]
register the server starter run thread with the phaser to prevent shutdown before the shutdown task is registered
Neil Richards [Thu, 4 Jun 2015 00:35:25 +0000 (01:35 +0100)]
Use read/write locking for downcall state engine
Neil Richards [Wed, 3 Jun 2015 21:51:08 +0000 (22:51 +0100)]
Enhance UnknownExceptionInfo unmarshalling handling
Neil GM Richards [Fri, 29 May 2015 00:28:02 +0000 (20:28 -0400)]
Merge branch 'correct_UserExceptionInfo_data' into 'ibm-trunk'
Correct user exception info data
See merge request !51
Neil Richards [Fri, 29 May 2015 00:20:04 +0000 (01:20 +0100)]
Correct format of data for UserExceptionInfo service context
Neil GM Richards [Thu, 28 May 2015 00:51:25 +0000 (20:51 -0400)]
Merge branch 'disable-repid-class-cache' into 'ibm-trunk'
Disable TypeDescriptorCache lookup for ClassDesc to Class resolution
Doing this requires creating a standard utility for converting from repid to class names / classes in yoko-util, which can then be used by code in both yoko-core and yoko-rmi-impl (thus eliminating duplication and inconsistency).
See merge request !50
Neil Richards [Thu, 28 May 2015 00:46:49 +0000 (01:46 +0100)]
Use Pattern.quote() for compiled split patterns
Neil Richards [Wed, 27 May 2015 23:54:31 +0000 (00:54 +0100)]
Special-case IDL:omg.org/CORBA/WStringValue:1.0
Neil Richards [Wed, 27 May 2015 21:43:34 +0000 (22:43 +0100)]
Produce best-of-breed repid to class name conversion
Neil Richards [Wed, 27 May 2015 20:23:11 +0000 (21:23 +0100)]
Improve RepIds.fixName implementation
Neil Richards [Wed, 27 May 2015 19:32:03 +0000 (20:32 +0100)]
Provide RepId utils from yoko-util
Joe Chacko [Wed, 27 May 2015 17:25:41 +0000 (18:25 +0100)]
Do not use the cached class when converting a ClassDesc to a Class
Neil GM Richards [Wed, 27 May 2015 13:51:03 +0000 (09:51 -0400)]
Merge branch 'bidir-deadlock' into 'ibm-trunk'
Bidir deadlock
See merge request !49
Neil Richards [Wed, 27 May 2015 13:48:42 +0000 (14:48 +0100)]
Merge branch 'bidir-deadlock.2' into bidir-deadlock
Neil GM Richards [Wed, 27 May 2015 12:33:19 +0000 (08:33 -0400)]
Merge branch 'classbasedesc_doprivileged' into 'ibm-trunk'
Classbasedesc doprivileged
See merge request !48
Neil Richards [Wed, 27 May 2015 12:32:00 +0000 (13:32 +0100)]
Use doPrivileged in ClassBaseDescriptor.init()
Neil GM Richards [Wed, 27 May 2015 11:18:46 +0000 (07:18 -0400)]
Merge branch 'class_marshalling' into 'ibm-trunk'
Class marshalling
Sorts out conversion of Class to ClassDesc during marshalling and ClassDesc to Class during unmarshalling.
Also correct ArrayValueDescriptor so that ValueDescriptor.writeReplace is called for each element in the array.
See merge request !47
Neil Richards [Wed, 27 May 2015 11:04:03 +0000 (12:04 +0100)]
Correct Class marshalling using ClassDesc
David Jencks [Thu, 21 May 2015 18:35:40 +0000 (14:35 -0400)]
work on shutdown logic; wait to close down pool until GIOPConnectionThreaded shutdowns have been run
Neil Richards [Mon, 18 May 2015 23:01:46 +0000 (00:01 +0100)]
Use ReadWriteLock for receiver threads / shutdown
David Jencks [Sun, 17 May 2015 04:23:20 +0000 (00:23 -0400)]
Fix deadlock on some jdks between write and close by synchronizing shutdown using the sendMutex_ already used for send
David Jencks [Sat, 16 May 2015 22:43:14 +0000 (18:43 -0400)]
use internal ExecutorServices instead of thread groups in ORBInstance to remove client deadlock due to expecting threads ending to notify their thread group
Neil GM Richards [Mon, 25 May 2015 02:37:10 +0000 (22:37 -0400)]
Merge branch 'enum_type_fix' into 'ibm-trunk'
Enum type fix
See merge request !46
Neil Richards [Mon, 25 May 2015 02:36:10 +0000 (03:36 +0100)]
Ensure zero suid for java.lang.Enum
Neil GM Richards [Mon, 25 May 2015 02:26:08 +0000 (22:26 -0400)]
Merge branch 'enum_type_fix' into 'ibm-trunk'
Enum type fix
Find the correct Class in an enum's type hierarchy to use in the call to Enum.valueOf()
See merge request !45
Neil Richards [Mon, 25 May 2015 02:18:21 +0000 (03:18 +0100)]
Find correct enum type in class hierarchy
Neil GM Richards [Sun, 24 May 2015 20:42:13 +0000 (16:42 -0400)]
Merge branch 'unknown_exception_handling' into 'ibm-trunk'
Unknown exception info propagation
See merge request !44
Neil GM Richards [Sat, 23 May 2015 07:35:13 +0000 (03:35 -0400)]
Merge branch 're-add_idl_entity_check' into 'ibm-trunk'
Restore isIDLEntity check
I previously misread the isIDLEntity() check as being redundant compared to IDLEntity.class.isAssignableFrom(), so removed it.
However, isIDLEntity() only compares the interfaces directly declared on the class (not in its class hierarchy), and only compares those interface class for equality with IDLEntity (not merely if they're assignable to IDLEntity).
Thus, isIDLEntity() is a stronger check, which I now understand needs to be there.
See merge request !43
Neil Richards [Sat, 23 May 2015 07:28:56 +0000 (08:28 +0100)]
Restore isIDLEntity check
Neil GM Richards [Fri, 22 May 2015 17:07:50 +0000 (13:07 -0400)]
Merge branch 'TypeRepo-with-ClassValue' into 'ibm-trunk'
Type repo with ClassValue, search repIdDesciptors cache during meta()
See merge request !42
Neil Richards [Thu, 21 May 2015 18:22:03 +0000 (19:22 +0100)]
Search TypeDescriptor cache first in meta(repId)
Neil Richards [Thu, 21 May 2015 16:23:06 +0000 (17:23 +0100)]
Indenting
Neil Richards [Thu, 21 May 2015 13:08:15 +0000 (14:08 +0100)]
Merge branch 'ibm-trunk' into TypeRepo-with-ClassValue
Neil Richards [Wed, 20 May 2015 18:54:13 +0000 (19:54 +0100)]
Propagate unchecked exceptions in UnknownExceptionInfo service contexts