mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +08:00
Avoid duplicate application of class transformations
This commit is contained in:
parent
bf2cfa83f0
commit
ef2e887d06
@ -63,9 +63,6 @@ class DependencyClassSource implements ClassHolderSource {
|
||||
throw new IllegalArgumentException("Class " + cls.getName() + " is already defined");
|
||||
}
|
||||
if (!transformers.isEmpty()) {
|
||||
for (ClassHolderTransformer transformer : transformers) {
|
||||
transformer.transformClass(cls, transformContext);
|
||||
}
|
||||
cls = ModelUtils.copyClass(cls);
|
||||
}
|
||||
generatedClasses.put(cls.getName(), cls);
|
||||
|
Loading…
Reference in New Issue
Block a user