-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u60
-
sparc_64
-
solaris_10
FULL PRODUCT VERSION :
java version "1.8.0_60"
java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10240]
A DESCRIPTION OF THE PROBLEM :
Local HTML pages loaded with webview (example webView = new WebView();
webView.getEngine().load(Theory.class.getResource("tree.html").toExternalForm()); )
doesn't load their local files (like images, css,, javascript files) saved in jar. (example <img src="images/image.png" alt="Graph" class="center-block" />, where image.png is saved in folder named image in jar file.)
You cant load HTML page with local content saved in same jar now. In java 8u51 this worked fine.
REGRESSION. Last worked in version 8u51
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_60"
java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-bit Server VM (build 25.60-b23, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create HTML file with images or css loaded in this html (like <img src="image.png> and put this HTML page and tihs image on same spot in jar file. Then load this page via webView.getEngine().load(). It will load HTML page content without image.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Load HTML page with image.
ACTUAL -
HTML page without image visible.
REPRODUCIBILITY :
This bug can be reproduced always.
SUPPORT :
YES
java version "1.8.0_60"
java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10240]
A DESCRIPTION OF THE PROBLEM :
Local HTML pages loaded with webview (example webView = new WebView();
webView.getEngine().load(Theory.class.getResource("tree.html").toExternalForm()); )
doesn't load their local files (like images, css,, javascript files) saved in jar. (example <img src="images/image.png" alt="Graph" class="center-block" />, where image.png is saved in folder named image in jar file.)
You cant load HTML page with local content saved in same jar now. In java 8u51 this worked fine.
REGRESSION. Last worked in version 8u51
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_60"
java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-bit Server VM (build 25.60-b23, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create HTML file with images or css loaded in this html (like <img src="image.png> and put this HTML page and tihs image on same spot in jar file. Then load this page via webView.getEngine().load(). It will load HTML page content without image.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Load HTML page with image.
ACTUAL -
HTML page without image visible.
REPRODUCIBILITY :
This bug can be reproduced always.
SUPPORT :
YES
- duplicates
-
JDK-8136466 [regression] [WebView] Load single page application from jar
-
- Resolved
-