Skip to content
Permalink
Browse files
[JENKINS-49237] - Lame fix of the serialization issue
  • Loading branch information
oleg-nenashev committed Jan 30, 2018
1 parent 0d7a4a9 commit 4f43d8d22b99c57e3884d278aa6b879cd58c6de7
Showing with 15 additions and 0 deletions.
  1. +3 −0 src/main/java/hudson/plugins/helpers/BuildProxy.java
  2. +12 −0 src/main/resources/META-INF/hudson.remoting.ClassFilter
@@ -25,9 +25,12 @@
private final FilePath projectRootDir;
private final FilePath buildRootDir;
private final FilePath executionRootDir;
// It should not be serialized over the channel (JENKINS-49237)
private final Calendar timestamp;
// TODO: it should not be serialized over the channel. It should exist only on the master side
private final List<AbstractBuildAction<AbstractBuild<?, ?>>> actions =
new ArrayList<AbstractBuildAction<AbstractBuild<?, ?>>>();
//TODO: This class should not be serialized as well?
private Result result = null;
private boolean continueBuild = true;

@@ -0,0 +1,12 @@
# TODO: not mergeable in the current state. JENKINS-49237
# Calendar class implementation has a custom deserialization logic
# ZoneInfo deserialization happens in the privileged mode...
java.util.Calendar
java.util.GregorianCalendar
java.util.SimpleTimeZone
sun.util.BuddhistCalendar
java.util.JapaneseImperialCalendar

java.util.TimeZone
java.util.SimpleTimeZone
sun.util.calendar.ZoneInfo

0 comments on commit 4f43d8d

Please sign in to comment.