-
Bug
-
Resolution: Fixed
-
P2
-
8u20
-
b19
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8044225 | 9 | Alexander Matveev | P2 | Resolved | Fixed | b22 |
JDK-8047248 | 8u25 | Alexander Matveev | P2 | Resolved | Fixed | b03 |
JDK-8053153 | emb-8u26 | Alexander Matveev | P2 | Resolved | Fixed | b17 |
The specification
http://docs.oracle.com/javase/8/docs/jre/api/javaws/jnlp/javax/jnlp/ExtensionInstallerService.html#hideProgressBar--
says:
--------------------------------
void hideProgressBar()
Hides the progress bar. Any subsequent calls to updateProgress will force it to be visible.
--------------------------------
void updateProgress(int value)
Updates the progress bar.
Parameters:
value - progress bar value - should be between 0 and 100.
--------------------------------
Experiments with the interactive tests show that it seems like the progress bar gets shown by updateProgressBar() method after getting hidden only is the passed value is different from previously set - then the progress bar gets painted again after hiding.
This behavior contradicts the spec and causes failure of the following interactive test from JNLP TCK 8.0.20
api/javax_jnlp/ExtensionInstallerService/index.html#statusWindow
Please see the attached screenshot.
http://docs.oracle.com/javase/8/docs/jre/api/javaws/jnlp/javax/jnlp/ExtensionInstallerService.html#hideProgressBar--
says:
--------------------------------
void hideProgressBar()
Hides the progress bar. Any subsequent calls to updateProgress will force it to be visible.
--------------------------------
void updateProgress(int value)
Updates the progress bar.
Parameters:
value - progress bar value - should be between 0 and 100.
--------------------------------
Experiments with the interactive tests show that it seems like the progress bar gets shown by updateProgressBar() method after getting hidden only is the passed value is different from previously set - then the progress bar gets painted again after hiding.
This behavior contradicts the spec and causes failure of the following interactive test from JNLP TCK 8.0.20
api/javax_jnlp/ExtensionInstallerService/index.html#statusWindow
Please see the attached screenshot.
- backported by
-
JDK-8044225 ExtensionInstallerService.updateProgress() doesn't force the progress bar to be visible after calling hideProgressBar() as specified
- Resolved
-
JDK-8047248 ExtensionInstallerService.updateProgress() doesn't force the progress bar to be visible after calling hideProgressBar() as specified
- Resolved
-
JDK-8053153 ExtensionInstallerService.updateProgress() doesn't force the progress bar to be visible after calling hideProgressBar() as specified
- Resolved