Skip to content

Commit 342f1f5

Browse files
committed
Attribution. Closes #912, #914
1 parent a381d6d commit 342f1f5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

History.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [1.2.5-SNAPSHOT](https://github.com/cucumber/cucumber-jvm/compare/v1.2.4...master) (In Git)
22

3+
* [Java8] Fix IllegalArgumentException on JDK 1.8.0_60 ([#912](https://github.com/cucumber/cucumber-jvm/issues/912), [#914](https://github.com/cucumber/cucumber-jvm/pull/914) Michael Wilkerson)
34
* [Java8] Throw better exception when lambda stepdefs use generic list arguments (unsupported) (Aslak Hellesøy)
45

56
## [1.2.4](https://github.com/cucumber/cucumber-jvm/compare/v1.2.3...v1.2.4) (2015-07-23)

java8/src/main/java/cucumber/runtime/java8/ConstantPoolTypeIntrospector.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import java.lang.reflect.Method;
88
import java.lang.reflect.Type;
9-
import java.util.List;
109

1110
public class ConstantPoolTypeIntrospector implements TypeIntrospector {
1211
private static final Method Class_getConstantPool;
@@ -49,6 +48,9 @@ private String getTypeString(ConstantPool constantPool) {
4948
// eat error; null entry at ConstantPool index?
5049
}
5150
}
51+
if (memberRef == null) {
52+
throw new CucumberException("Couldn't find memberRef.");
53+
}
5254

5355
return memberRef[2];
5456
}

0 commit comments

Comments
 (0)