jdk/src/java.desktop/share/classes/sun/java2d/loops/CompositeType.java
changeset 26037 508779ce6619
parent 26004 7507a1b93f67
parent 25859 3317bb8137f4
child 32865 f9cb6e427f9e
equal deleted inserted replaced
25992:e9b05e933ddd 26037:508779ce6619
   240         next = parent;
   240         next = parent;
   241         this.desc = desc;
   241         this.desc = desc;
   242         this.uniqueID = makeUniqueID(desc);
   242         this.uniqueID = makeUniqueID(desc);
   243     }
   243     }
   244 
   244 
   245     public synchronized static final int makeUniqueID(String desc) {
   245     public synchronized static int makeUniqueID(String desc) {
   246         Integer i = compositeUIDMap.get(desc);
   246         Integer i = compositeUIDMap.get(desc);
   247 
   247 
   248         if (i == null) {
   248         if (i == null) {
   249             if (unusedUID > 255) {
   249             if (unusedUID > 255) {
   250                 throw new InternalError("composite type id overflow");
   250                 throw new InternalError("composite type id overflow");