Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.4
-
Fix Version/s: 5.0.5
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Salesforce Case Reference:
Description
A supported customer came across this bug in our code when doing some tracing. The code reads as
public void removePaintPageListener(PaintPageListener listener) {
// remove a listener if it is already registered
synchronized (paintPageListeners) {
if (paintPageListeners.contains(listener)) {
paintPageListeners.add(listener);
}
}
}
The typo/bug is patinPageListeners.add() instead of remove.
public void removePaintPageListener(PaintPageListener listener) {
// remove a listener if it is already registered
synchronized (paintPageListeners) {
if (paintPageListeners.contains(listener)) {
paintPageListeners.add(listener);
}
}
}
The typo/bug is patinPageListeners.add() instead of remove.
from user:- no specific file to cause this jira but the following comment:-
Unfortunately we don't have a specific pdf for this issue.
The problem happened when pdf files were opened and closed
fast.