aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-09 23:48:25 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-11-09 23:48:25 -0500
commit5c5bac097e4d81b3a826c3dade041c4bdbb05b77 (patch)
tree37cf61da070b2c32f23dbf09f2bd92585fe5609a /README.md
parent75310e0cb942883545f0a142b2e7b61dbb1134b4 (diff)
downloadcbt-5c5bac097e4d81b3a826c3dade041c4bdbb05b77.tar.gz
cbt-5c5bac097e4d81b3a826c3dade041c4bdbb05b77.tar.bz2
cbt-5c5bac097e4d81b3a826c3dade041c4bdbb05b77.zip
fix java.lang.LinkageError due to cache invalidation bug
cbtHasChanged does never change across one run. However classLoaderRecursion removes the corresponding classloader if needsUpdate is true. It is called multiple times meaning it removes and re-creates the classloader on every call leading to potentially multiple conflicting cbt classloaders. needsUpdate should never be returning true more than ones across a single run. Otherwise it can lead to this error: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "Build.lib()Lcbt/Lib;" the class loader (instance of cbt/URLClassLoader) of the current class, Build, and the class loader (instance of cbt/URLClassLoader) for interface cbt/BaseBuild have different Class objects for the type cbt/Lib used in the signature
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions