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
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 [Thu, 14 May 2015 10:00:36 +0000 (06:00 -0400)]
Merge branch 'disable_idl_name_checking_tests' into 'ibm-trunk'
Disable idl name checking tests
See merge request !41
Neil Richards [Thu, 14 May 2015 09:58:20 +0000 (10:58 +0100)]
Disable TypeCodeFactory IDL name checking tests
Neil GM Richards [Thu, 14 May 2015 08:45:19 +0000 (04:45 -0400)]
Merge branch 'disable_idl_name_checking' into 'ibm-trunk'
Disable idl name checking
TypeCode creation tries to enforce all names are IDL names.
By comparison with the behaviour seen from other ORB implementations, this is not necessarily the case, for example when generating the FullValueDescription for Java (Serializable) valuetypes.
Other parts of yoko behave in a compatible manner to these other implementations, which currently causes the IDL name checking to fail during FVD generation.
This introduces minimal changes to disable IDL name checking.
See merge request !40
Neil Richards [Thu, 14 May 2015 08:37:42 +0000 (09:37 +0100)]
Disable IDL name checking in TypeCode construction
David Jencks [Tue, 12 May 2015 18:03:35 +0000 (14:03 -0400)]
Merge branch 'collocated-csiv2' into 'ibm-trunk'
Collocated csiv2
See merge request !39
Neil GM Richards [Tue, 12 May 2015 17:23:13 +0000 (13:23 -0400)]
Merge branch 'input_stream_idl_stub_loading' into 'ibm-trunk'
Input stream idl stub loading
See merge request !38
Neil Richards [Tue, 12 May 2015 17:20:09 +0000 (18:20 +0100)]
Use IDL Helper class to create stubs for IDLEntity
David Jencks [Tue, 12 May 2015 00:40:09 +0000 (20:40 -0400)]
Determine colocation for IORs with csiv2 transport addresses. Improve a couple error messages
Neil GM Richards [Thu, 7 May 2015 10:23:48 +0000 (06:23 -0400)]
Merge branch 'further_cmsfv2_tweaks' into 'ibm-trunk'
Further cmsfv2 tweaks
See merge request !37
Neil Richards [Thu, 7 May 2015 10:20:20 +0000 (11:20 +0100)]
Corrections to reading start of CMSFv2 valuetype
Neil GM Richards [Thu, 30 Apr 2015 21:42:43 +0000 (17:42 -0400)]
Merge branch 'cmsfv2_handle_objectreader_methods' into 'ibm-trunk'
Add custom marshal hooks for ObjectReader methods
See merge request !36
Neil Richards [Thu, 30 Apr 2015 21:36:50 +0000 (22:36 +0100)]
Add custom marshal hooks for ObjectReader methods
Neil GM Richards [Thu, 30 Apr 2015 12:58:41 +0000 (08:58 -0400)]
Merge branch 'support_idl_narrow' into 'ibm-trunk'
Support idl narrow
See merge request !35
Neil Richards [Thu, 30 Apr 2015 12:57:22 +0000 (13:57 +0100)]
Merge branch 'ibm-trunk' into support_idl_narrow
Neil GM Richards [Thu, 30 Apr 2015 10:24:01 +0000 (06:24 -0400)]
Merge branch 'improve_cmsfv2' into 'ibm-trunk'
Improve cmsfv2
Add additional guards to CmsfThreadLocal mechanis
See merge request !34
Neil Richards [Thu, 30 Apr 2015 10:20:09 +0000 (11:20 +0100)]
Additional guards to CmsfThreadLocal mechanism
Neil Richards [Thu, 30 Apr 2015 08:20:10 +0000 (09:20 +0100)]
Add support for IDL interfaces to PRO.narrow
Neil GM Richards [Mon, 27 Apr 2015 17:45:57 +0000 (13:45 -0400)]
Merge branch 'avoid_writing_zero_length_chunks' into 'ibm-trunk'
Avoid writing zero length chunks
It seems some other ORBs don't like reading in zero length chunks
(though I think the spec is okay with them being written).
As it's inefficient to write them out to the stream, and to maximise
interoperability, this change stops them from being produced.
See merge request !33
Neil Richards [Mon, 27 Apr 2015 17:41:33 +0000 (18:41 +0100)]
Avoid writing zero length chunks
Neil GM Richards [Mon, 27 Apr 2015 09:37:44 +0000 (05:37 -0400)]
Merge branch 'cmsfv2_setting_check' into 'ibm-trunk'
Cmsfv2 setting check
See merge request !32
Neil Richards [Mon, 27 Apr 2015 09:36:20 +0000 (10:36 +0100)]
Add guard code for unset CMSFv2 thread local
Neil GM Richards [Mon, 27 Apr 2015 09:08:34 +0000 (05:08 -0400)]
Merge branch 'yoko-util' into 'ibm-trunk'
Yoko util
See merge request !31
Neil GM Richards [Mon, 27 Apr 2015 09:03:27 +0000 (05:03 -0400)]
Merge branch 'distinguish_pad_bytes' into 'ibm-trunk'
Distinguish pad bytes
Make padding bytes in the stream easily distinguishable from zero bytes/ints or null objects.
See merge request !30
Neil Richards [Fri, 24 Apr 2015 14:50:08 +0000 (15:50 +0100)]
Move common utilities to yoko-util bundle
Neil Richards [Fri, 24 Apr 2015 12:20:50 +0000 (13:20 +0100)]
Write distinguishable bytes for padding
Neil GM Richards [Thu, 23 Apr 2015 20:55:35 +0000 (16:55 -0400)]
Merge branch 'cmsfv2' into 'ibm-trunk'
Add CMSFv2 support
Add support for Custom Marshaled Stream Format version 2
See merge request !29
Neil Richards [Thu, 23 Apr 2015 20:53:01 +0000 (21:53 +0100)]
Implement CMSFv2 reading support, last part
Neil Richards [Thu, 23 Apr 2015 14:08:55 +0000 (15:08 +0100)]
Merge branch 'ibm-trunk' into cmsfv2
Neil GM Richards [Thu, 23 Apr 2015 13:40:54 +0000 (09:40 -0400)]
Merge branch 'improve_logging' into 'ibm-trunk'
Improve logging
See merge request !28
Neil Richards [Thu, 23 Apr 2015 13:31:50 +0000 (14:31 +0100)]
Improve logging formatting for demarshalling
Neil Richards [Thu, 23 Apr 2015 10:42:59 +0000 (11:42 +0100)]
Don't override readDefaultObject delegation
Neil Richards [Wed, 22 Apr 2015 17:46:57 +0000 (18:46 +0100)]
Merge branch 'ibm-trunk' into cmsfv2
Neil GM Richards [Wed, 22 Apr 2015 17:46:04 +0000 (13:46 -0400)]
Merge branch 'improve_dumpData' into 'ibm-trunk'
Improve dump data
Improve the formatting of Buffer.dumpData and IORUtil.dump_octets, so that it's easier to deal with when debugging.
See merge request !27
Neil Richards [Wed, 22 Apr 2015 17:43:14 +0000 (18:43 +0100)]
Improve format of dataDump and dump_octets
Neil Richards [Wed, 22 Apr 2015 17:36:10 +0000 (18:36 +0100)]
Enable Cmsfv2 reading support, part 1
Joe Chacko [Wed, 22 Apr 2015 09:48:38 +0000 (10:48 +0100)]
Generify offsetMap to use a value type of Object, not Serializable