Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2017-02-02 22:28:23 +0000
committerStephan Herrmann2017-03-05 18:19:56 +0000
commit4b16c7b0c9487e4197c5330732ccebfb813af265 (patch)
tree8ea674f85f738ff2ae4ace816d0418837443d2b2
parent1d5be3d51097bfb4bf95b7696798be9f89a9ec62 (diff)
downloadorg.eclipse.objectteams-4b16c7b0c9487e4197c5330732ccebfb813af265.tar.gz
org.eclipse.objectteams-4b16c7b0c9487e4197c5330732ccebfb813af265.tar.xz
org.eclipse.objectteams-4b16c7b0c9487e4197c5330732ccebfb813af265.zip
Bug 511603: don't try to transform a LambdaForm
-rw-r--r--plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/transformer/jplis/ObjectTeamsTransformer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/transformer/jplis/ObjectTeamsTransformer.java b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/transformer/jplis/ObjectTeamsTransformer.java
index be8edf9d8..3102e8656 100644
--- a/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/transformer/jplis/ObjectTeamsTransformer.java
+++ b/plugins/org.eclipse.objectteams.otredyn/src/org/eclipse/objectteams/otredyn/transformer/jplis/ObjectTeamsTransformer.java
@@ -74,6 +74,9 @@ public class ObjectTeamsTransformer implements ClassFileTransformer {
public byte[] transform(ClassLoader loader, String className, String classId, Class<?> classBeingRedefined,
byte[] classfileBuffer) throws IllegalClassFormatException {
+ if (className == null) // seen from java.lang.invoke.LambdaForm.compileToBytecode()
+ return null;
+
if (loader == null)
loader = ClassLoader.getSystemClassLoader();

Back to the top