diff -r ff77b7986967 -r 71210037624f langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java Fri Apr 08 11:52:46 2016 +0200 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java Fri Apr 08 10:51:57 2016 -0700 @@ -140,12 +140,6 @@ return isNew; } - boolean isRedundant() { - return !isNew && !isDependency() && !si.isExecutable() && - prevStatus.isDefined && - siOld.source().equals(si.source()); - } - void initialize(Collection working) { isAttemptingCorral = false; dependenciesNeeded = false;