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 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
Neil Richards [Tue, 21 Apr 2015 16:49:17 +0000 (17:49 +0100)]
Formatted source (automated)
Joe Chacko [Tue, 21 Apr 2015 18:04:00 +0000 (19:04 +0100)]
Refactor CorbaObjectReader (automated)
Joe Chacko [Tue, 21 Apr 2015 16:33:54 +0000 (17:33 +0100)]
Refactored ValueReader (automated)
Neil Richards [Mon, 20 Apr 2015 16:00:32 +0000 (17:00 +0100)]
Add test object for CMSFv2
Neil Richards [Mon, 20 Apr 2015 10:58:23 +0000 (11:58 +0100)]
Improve error handling; Clarify imports
Joe Chacko [Sat, 18 Apr 2015 00:43:32 +0000 (01:43 +0100)]
cleaned up ValueDescriptor
Joe Chacko [Fri, 17 Apr 2015 23:10:33 +0000 (00:10 +0100)]
sanitized ObjectWriter to avoid fully qualified classes and other style violations
Joe Chacko [Fri, 17 Apr 2015 22:04:07 +0000 (23:04 +0100)]
converted WriteObjectState to an enum
Neil Richards [Fri, 17 Apr 2015 16:23:41 +0000 (17:23 +0100)]
Fix custom marshal check on reading side
This encapsulates the check in a method called 'isCustomUnmarshalled()'
- this needs a better name.
Neil Richards [Fri, 17 Apr 2015 16:12:27 +0000 (17:12 +0100)]
Merge branch 'ibm-trunk' into cmsfv2
Neil GM Richards [Fri, 17 Apr 2015 15:14:26 +0000 (11:14 -0400)]
Merge branch 'perf_helper_lookup' into 'ibm-trunk'
Avoid BoxedValueHelper lookups where possible
See merge request !26
Neil Richards [Fri, 17 Apr 2015 15:09:22 +0000 (16:09 +0100)]
Merge branch 'improve_unknown_exception' into perf_helper_lookup
Neil Richards [Fri, 17 Apr 2015 10:48:05 +0000 (11:48 +0100)]
Improve information captured in UnknownException
Neil Richards [Wed, 15 Apr 2015 17:30:48 +0000 (18:30 +0100)]
Merge branch 'corbaname_parse_diagnostics' into perf_helper_lookup
Neil Richards [Wed, 15 Apr 2015 17:27:40 +0000 (18:27 +0100)]
Avoid BoxedValueHelper lookup where possible
Neil Richards [Wed, 15 Apr 2015 16:37:40 +0000 (17:37 +0100)]
Add temp. ability to disable CMSFv2 advertising
Neil Richards [Fri, 10 Apr 2015 18:14:31 +0000 (19:14 +0100)]
Add more info to corbaname parsing exceptions
Neil Richards [Fri, 10 Apr 2015 13:45:16 +0000 (14:45 +0100)]
Merge branch 'ibm-trunk' into cmsfv2
Neil GM Richards [Fri, 10 Apr 2015 13:37:17 +0000 (09:37 -0400)]
Merge branch 'enum_fix' into 'ibm-trunk'
Enum fix
Demarshalling of Java Enums need to be special-cased - the demarshalled value needs to be obtained via a call to
Enum.valueOf(type, name) as Enum values are singletons.
See merge request !25
Neil Richards [Fri, 10 Apr 2015 13:29:47 +0000 (14:29 +0100)]
Add Enum demarshalling handling
Neil Richards [Thu, 9 Apr 2015 21:36:00 +0000 (22:36 +0100)]
Correct writing of CMSF TC & SC data
Correct witing of CDR encapuslated data for Custom Marshal Stream Format
tagged component and service context.
Neil Richards [Thu, 9 Apr 2015 11:12:15 +0000 (12:12 +0100)]
Enable outbound CMSFv2 support
Neil Richards [Tue, 7 Apr 2015 00:20:19 +0000 (01:20 +0100)]
Move CmsfThreadLocalStack to yoko-rmi-impl
Move CmsfThreadLocalStack to yoko-rmi-impl, as it's code there that
needs to find out what should be the Custom Marshal Stream Format
version to be used.
Neil Richards [Tue, 7 Apr 2015 00:03:01 +0000 (01:03 +0100)]
Add PI classes for CMSF handling
Add (IOR, Client, Server) Portable Interceptor classes for handling
negotiation of Custom Marshal Stream Formatting version support,
including a ThreadLocal for propagating the agreed version to write
operations.
Neil Richards [Sat, 4 Apr 2015 17:13:46 +0000 (18:13 +0100)]
Add missing API relating to CMSFv2
Add missing API relating to supporting Custom Marshal Stream Format
version 2.
Neil GM Richards [Tue, 31 Mar 2015 10:51:54 +0000 (06:51 -0400)]
Merge branch 'serializable_array_marshalling' into 'ibm-trunk'
Serializable array marshalling
As per the Java2IDL spec, the elements of a Serializable[] need to be marshalled as Anys.
See merge request !24
Neil Richards [Tue, 31 Mar 2015 10:48:18 +0000 (11:48 +0100)]
Send elements of Serializable[] as Anys
This conforms to the Java2IDL spec, 4.3.10.1
Neil GM Richards [Fri, 27 Mar 2015 15:22:37 +0000 (11:22 -0400)]
Merge branch 'stub.loader' into 'ibm-trunk'
Stub.loader
Add entry for ProviderLoader for javax.rmi.CORBA.Stub
See merge request !23
Neil Richards [Fri, 27 Mar 2015 15:20:37 +0000 (15:20 +0000)]
Add ProviderLoader for javax.rmi.CORBA.Stub
Neil GM Richards [Thu, 26 Mar 2015 00:54:00 +0000 (20:54 -0400)]
Merge branch 'remote.stub.loader' into 'ibm-trunk'
Remote.stub.loader
See merge request !22
Neil Richards [Thu, 26 Mar 2015 00:49:59 +0000 (00:49 +0000)]
Add _Remote_Stub to ProviderLoader list
Neil Richards [Wed, 11 Mar 2015 22:51:30 +0000 (22:51 +0000)]
Merge branch 'ibm-trunk' into TypeRepo-with-ClassValue
Joseph Chacko [Wed, 11 Mar 2015 01:32:04 +0000 (21:32 -0400)]
Merge branch 'avoid_RemoteException_initCause' into 'ibm-trunk'
Avoid remote exception init cause
One has to set the 'detail' public field of a RemoteException,
instead of trying to call initCause() (as that always throws IllegalStateException).
Some subclasses of RemoteException, such as NoSuchObjectException, provides no other
way of setting up the causal exception.
See merge request !21
Neil Richards [Tue, 10 Mar 2015 23:19:22 +0000 (23:19 +0000)]
Avoid calling RemoteException.initCause()
... as this will always throw IllegalStateException.
Instead set its public 'detail' field to the desired value.
Joseph Chacko [Tue, 10 Mar 2015 15:46:28 +0000 (11:46 -0400)]
Merge branch 'removeJTADependency' into 'ibm-trunk'
Remove jta dependency
See merge request !20
Joseph Chacko [Tue, 10 Mar 2015 15:40:00 +0000 (11:40 -0400)]
Merge branch 'RMIStub_toString_fix' into 'ibm-trunk'
Rmi stub to string fix
This addresses the BAD_OPERATION exception seen by Andy McCright when running with trace enabled.
See merge request !18
David Jencks [Tue, 10 Mar 2015 13:53:46 +0000 (09:53 -0400)]
Merge branch 'use-stringbuilder-1' into 'ibm-trunk'
Use stringbuilder 1
Use StringBuilder for lengthy string construction, avoid loop errors.
See merge request !19
Neil Richards [Tue, 10 Mar 2015 13:29:11 +0000 (13:29 +0000)]
Produce something sensible from RMIStub.toString()
... when its delegate is not hooked up.
Neil Richards [Tue, 10 Mar 2015 10:29:33 +0000 (10:29 +0000)]
remove hard dependency on JTA
David Jencks [Tue, 10 Mar 2015 04:27:52 +0000 (00:27 -0400)]
Use StringBuilder for writing IORs faster, fix broken loop logic
Joseph Chacko [Sat, 28 Feb 2015 17:26:09 +0000 (12:26 -0500)]
Merge branch 'nameservice-spi' into 'ibm-trunk'
Move NameServiceInitializer to orb.naming.spi
See merge request !17
Neil Richards [Fri, 27 Feb 2015 18:34:38 +0000 (18:34 +0000)]
NameServiceInitializer should try to find_POA before trying to create_POA
Neil Richards [Fri, 27 Feb 2015 17:37:17 +0000 (17:37 +0000)]
Move NameServiceInitializer into spi package and add a read-only/read-write argument
Joseph Chacko [Wed, 25 Feb 2015 12:02:38 +0000 (07:02 -0500)]
Merge branch 'desynchronizeTheOrb' into 'ibm-trunk'
Desynchronize the orb
Avoid horrible deadlock conditions on the ORB_impl by replacing synchronized methods with use of a ReadWriteLock.
See merge request !16
Neil Richards [Wed, 25 Feb 2015 11:28:28 +0000 (11:28 +0000)]
use a read-write lock instead of synchronizing every ORB method
Neil Richards [Wed, 25 Feb 2015 11:27:20 +0000 (11:27 +0000)]
add test for corbaname processing
Neil Richards [Tue, 24 Feb 2015 12:55:37 +0000 (12:55 +0000)]
NameComponent.toString() should stringify as per CosNaming spec
Neil Richards [Tue, 24 Feb 2015 10:41:16 +0000 (10:41 +0000)]
use backslash to delimit dots, slashes, and backslashes
Neil Richards [Thu, 19 Feb 2015 10:57:10 +0000 (10:57 +0000)]
Merge branch 'ibm-trunk' into TypeRepo-with-ClassValue
Neil GM Richards [Thu, 19 Feb 2015 10:55:42 +0000 (05:55 -0500)]
Merge branch 'addResolver' into 'ibm-trunk'
Add resolver
Add Resolver convenience class that implements Resolvable and extends LocalObject
See merge request !15
Joe Chacko [Thu, 19 Feb 2015 04:54:30 +0000 (04:54 +0000)]
remove explicit package export from yoko-core (all packages exported by default)
Joe Chacko [Thu, 19 Feb 2015 03:51:28 +0000 (03:51 +0000)]
test Resolver class
Joe Chacko [Thu, 19 Feb 2015 03:40:24 +0000 (03:40 +0000)]
Add Resolver class to naming spi package
Neil Richards [Tue, 17 Feb 2015 23:00:05 +0000 (23:00 +0000)]
Merge branch 'ibm-trunk' into TypeRepo-with-ClassValue
Neil GM Richards [Tue, 17 Feb 2015 22:56:49 +0000 (17:56 -0500)]
Merge branch 'localNameService' into 'ibm-trunk'
Improved validation of NameComponent id and kind values
See merge request !13
Joseph Chacko [Tue, 17 Feb 2015 22:44:24 +0000 (17:44 -0500)]
Merge branch 'marks-branch' into 'ibm-trunk'
Marks branch
As a Liberty developer, I want to store an object factory in CosNaming
See merge request !12
Mark Nuttall [Tue, 17 Feb 2015 17:01:26 +0000 (17:01 +0000)]
As a developer I want to store an object factory in CosNaming
Joe Chacko [Fri, 13 Feb 2015 13:09:12 +0000 (13:09 +0000)]
Throw NPE from NamingContext when NameComponent has null fields
Neil Richards [Thu, 12 Feb 2015 16:50:15 +0000 (16:50 +0000)]
Merge branch 'ibm-trunk' into TypeRepo-with-ClassValue
David Jencks [Tue, 10 Feb 2015 20:01:11 +0000 (15:01 -0500)]
Merge branch 'unblock-shutdown' into 'ibm-trunk'
Unblock shutdown
See merge request !11
David Jencks [Tue, 10 Feb 2015 19:58:19 +0000 (14:58 -0500)]
make shutdown_ volatile per review suggestion
David Jencks [Sun, 8 Feb 2015 16:24:19 +0000 (11:24 -0500)]
break out of read loop on shutdown