summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectAdapterI.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/Ice/ObjectAdapterI.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/Ice/ObjectAdapterI.java')
-rw-r--r--java/src/Ice/ObjectAdapterI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/Ice/ObjectAdapterI.java b/java/src/Ice/ObjectAdapterI.java
index 0c1d31c38da..586a6f4a54d 100644
--- a/java/src/Ice/ObjectAdapterI.java
+++ b/java/src/Ice/ObjectAdapterI.java
@@ -418,7 +418,7 @@ public final class ObjectAdapterI implements ObjectAdapter
{
Identity ident = new Identity();
ident.category = "";
- ident.name = Util.generateUUID();
+ ident.name = java.util.UUID.randomUUID().toString();
return addFacet(object, ident, facet);
}