summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ObjectAdapterFactory.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-10-15 12:42:49 -0230
committerMatthew Newhook <matthew@zeroc.com>2009-01-09 11:58:49 -0330
commit33d494280e53b6741a5390756f8411eba37a9ecc (patch)
treec012db2df93c85330777fff302ee4a69075bc237 /java/src/IceInternal/ObjectAdapterFactory.java
parentMerge commit 'origin/R3_3_branch' (diff)
downloadice-33d494280e53b6741a5390756f8411eba37a9ecc.tar.bz2
ice-33d494280e53b6741a5390756f8411eba37a9ecc.tar.xz
ice-33d494280e53b6741a5390756f8411eba37a9ecc.zip
http://bugzilla/bugzilla/show_bug.cgi?id=3481 - Generate better UUIDs in Java.
http://bugzilla/bugzilla/show_bug.cgi?id=3482 - Deprecate generateUUID in Java and C# (java only).
Diffstat (limited to 'java/src/IceInternal/ObjectAdapterFactory.java')
-rw-r--r--java/src/IceInternal/ObjectAdapterFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/IceInternal/ObjectAdapterFactory.java b/java/src/IceInternal/ObjectAdapterFactory.java
index e7db028a7c3..b357ea6eb6f 100644
--- a/java/src/IceInternal/ObjectAdapterFactory.java
+++ b/java/src/IceInternal/ObjectAdapterFactory.java
@@ -174,7 +174,7 @@ public final class ObjectAdapterFactory
if(name.length() == 0)
{
- String uuid = Ice.Util.generateUUID();
+ String uuid = java.util.UUID.randomUUID().toString();
adapter = new Ice.ObjectAdapterI(_instance, _communicator, this, uuid, "", null, true);
_adapters.put(uuid, adapter);
}