From 05b78b167fba18b6e2904ee3d5cbb7024931a130 Mon Sep 17 00:00:00 2001 From: chiba Date: Thu, 2 Jul 2009 15:45:22 +0000 Subject: [PATCH] fixed JASSIST-86 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@486 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index 9f17aa8b..8bfca0c8 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -410,7 +410,7 @@ public abstract class CtClass { * *

This method may return null. */ - public Collection getRefClasses() { + public synchronized Collection getRefClasses() { ClassFile cf = getClassFile2(); if (cf != null) { ClassMap cm = new ClassMap() { -- 2.39.5