Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private Class<?> getClassForId(String id) {
// com.google.cloud.dataflow.sdk.coders. We do this via creating
// the class object so that class loaders have a chance to get
// involved -- and since we need the class object anyway.
return Class.forName("com.google.cloud.dataflow.sdk.coders." + id);
return Class.forName(Coder.class.getPackage().getName() + "." + id);
} catch (ClassNotFoundException e) {
throw new RuntimeException("Unable to convert coder ID " + id + " to class", e);
}
Expand Down