Skip to content

Commit 32e38d6

Browse files
committed
Revert "try setup time feature registration"
This reverts commit eeb9352.
1 parent eeb9352 commit 32e38d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/nativeimage/HttpAppEngineFeature.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class HttpAppEngineFeature implements Feature {
1818
"com.google.apphosting.api.logservice.LogServicePb");
1919

2020
@Override
21-
public void duringSetup(DuringSetupAccess access) {
21+
public void beforeAnalysis(BeforeAnalysisAccess access) {
2222
try {
2323
for (String className : APP_ENGINE_CLASSES) {
2424
registerClassForReflection(className, access);
@@ -31,7 +31,8 @@ public void duringSetup(DuringSetupAccess access) {
3131
}
3232
}
3333

34-
private void registerClassForReflection(String classFullQualifiedName, DuringSetupAccess access) {
34+
private void registerClassForReflection(
35+
String classFullQualifiedName, BeforeAnalysisAccess access) {
3536
Class<?> clazz = access.findClassByName(classFullQualifiedName);
3637
RuntimeReflection.register(clazz);
3738
RuntimeReflection.register(clazz.getDeclaredConstructors());

0 commit comments

Comments
 (0)