8182489: jshell tool: rerun multiline snippet from history corrupts history
Reviewed-by: jlahoda
#FindBugs User Preferences#Tue Jun 30 18:33:11 PDT 2009detectorAbnormalFinallyBlockReturn=AbnormalFinallyBlockReturn|falsedetectorAbstractClassEmptyMethods=AbstractClassEmptyMethods|falsedetectorAbstractOverriddenMethod=AbstractOverriddenMethod|falsedetectorArrayBasedCollections=ArrayBasedCollections|falsedetectorArrayWrappedCallByReference=ArrayWrappedCallByReference|falsedetectorBloatedAssignmentScope=BloatedAssignmentScope|falsedetectorBloatedSynchronizedBlock=BloatedSynchronizedBlock|falsedetectorClassEnvy=ClassEnvy|falsedetectorCollectStatistics=CollectStatistics|falsedetectorConfusingAutoboxedOverloading=ConfusingAutoboxedOverloading|falsedetectorConstantListIndex=ConstantListIndex|falsedetectorCopiedOverriddenMethod=CopiedOverriddenMethod|falsedetectorCustomBuiltXML=CustomBuiltXML|falsedetectorCyclomaticComplexity=CyclomaticComplexity|falsedetectorDateComparison=DateComparison|falsedetectorDeclaredRuntimeException=DeclaredRuntimeException|falsedetectorDeletingWhileIterating=DeletingWhileIterating|falsedetectorDubiousListCollection=DubiousListCollection|falsedetectorFieldCouldBeLocal=FieldCouldBeLocal|falsedetectorFinalParameters=FinalParameters|falsedetectorFloatingPointLoops=FloatingPointLoops|falsedetectorInefficientStringBuffering=InefficientStringBuffering|falsedetectorInheritanceTypeChecking=InheritanceTypeChecking|falsedetectorJDBCVendorReliance=JDBCVendorReliance|falsedetectorListIndexedIterating=ListIndexedIterating|falsedetectorLiteralStringComparison=LiteralStringComparison|falsedetectorLocalSynchronizedCollection=LocalSynchronizedCollection|falsedetectorLostExceptionStackTrace=LostExceptionStackTrace|falsedetectorManualArrayCopy=ManualArrayCopy|falsedetectorMethodReturnsConstant=MethodReturnsConstant|falsedetectorNeedlessAutoboxing=NeedlessAutoboxing|falsedetectorNeedlessCustomSerialization=NeedlessCustomSerialization|falsedetectorNeedlessInstanceRetrieval=NeedlessInstanceRetrieval|falsedetectorNeedlessMemberCollectionSynchronization=NeedlessMemberCollectionSynchronization|falsedetectorNonCollectionMethodUse=NonCollectionMethodUse|falsedetectorNonOwnedSynchronization=NonOwnedSynchronization|falsedetectorNonRecycleableTaglibs=NonRecycleableTaglibs|falsedetectorOrphanedDOMNode=OrphanedDOMNode|falsedetectorOverlyConcreteParameter=OverlyConcreteParameter|falsedetectorParallelLists=ParallelLists|falsedetectorPartiallyConstructedObjectAccess=PartiallyConstructedObjectAccess|falsedetectorPossibleIncompleteSerialization=PossibleIncompleteSerialization|falsedetectorPossibleMemoryBloat=PossibleMemoryBloat|falsedetectorPossiblyRedundantMethodCalls=PossiblyRedundantMethodCalls|falsedetectorSQLInLoop=SQLInLoop|falsedetectorSection508Compliance=Section508Compliance|falsedetectorSillynessPotPourri=SillynessPotPourri|falsedetectorSloppyClassReflection=SloppyClassReflection|falsedetectorSluggishGui=SluggishGui|falsedetectorSpoiledChildInterfaceImplementor=SpoiledChildInterfaceImplementor|falsedetectorSpuriousThreadStates=SpuriousThreadStates|falsedetectorStaticArrayCreatedInMethod=StaticArrayCreatedInMethod|falsedetectorStaticMethodInstanceInvocation=StaticMethodInstanceInvocation|falsedetectorSuspiciousComparatorReturnValues=SuspiciousComparatorReturnValues|falsedetectorSuspiciousJDKVersionUse=SuspiciousJDKVersionUse|falsedetectorSuspiciousWaitOnConcurrentObject=SuspiciousWaitOnConcurrentObject|falsedetectorSyncCollectionIterators=SyncCollectionIterators|falsedetectorTailRecursion=TailRecursion|falsedetectorUnnecessaryStoreBeforeReturn=UnnecessaryStoreBeforeReturn|falsedetectorUnrelatedCollectionContents=UnrelatedCollectionContents|falsedetectorUnrelatedReturnValues=UnrelatedReturnValues|falsedetectorUseAddAll=UseAddAll|falsedetectorUseCharacterParameterizedMethod=UseCharacterParameterizedMethod|falsedetectorUseEnumCollections=UseEnumCollections|falsedetectorUseSplit=UseSplit|falsedetectorUseToArray=UseToArray|falsedetector_threshold=2effort=defaultfilter_settings=Medium|BAD_PRACTICE,CORRECTNESS,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|falsefilter_settings_neg=|