We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501a82b commit 76c5710Copy full SHA for 76c5710
substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta/BaseLayerMethod.java
@@ -51,6 +51,8 @@
51
* method, using the information from the base layer.
52
*/
53
public class BaseLayerMethod extends BaseLayerElement implements ResolvedJavaMethod {
54
+ private static final String CLINIT = "<clinit>";
55
+
56
private final int id;
57
private final ResolvedJavaType declaringClass;
58
private final String name;
@@ -153,7 +155,7 @@ public boolean isDeclared() {
153
155
154
156
@Override
157
public boolean isClassInitializer() {
- throw unimplemented();
158
+ return name.equals(CLINIT);
159
}
160
161
0 commit comments