Details
-
Bug
-
Resolution: Fixed
-
P3
-
8u60
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8139344 | 8u72 | Ilya Dergalin | P3 | Closed | Fixed | b02 |
Description
FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux ubuntu 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 i686 i686 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
I'm trying to extract an iFrame's ID from a Document object from the WebEngine. Here are the steps:
- Create a WebView and get the WebEngine.
- Load a URL into the WebEngine by calling WebEngine.load(URL)
- Get the Document object by calling WebEngine.getDocument()
- Get all iframe elements from Document object by calling getElementsByTagName("iframe")
- Loop through the returned NodeList and cast each item as HTMLIFrameElement
- Call method getId() on the HTMLIFrameElement will throw UnsatisfiedLinkError
REGRESSION. Last worked in version 8u51
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It will return the ID of the iFrame set in the HTML
ACTUAL -
throws UnsatisfiedLinkError
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Remove the codes that try to get the iFrame ID
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux ubuntu 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 i686 i686 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
I'm trying to extract an iFrame's ID from a Document object from the WebEngine. Here are the steps:
- Create a WebView and get the WebEngine.
- Load a URL into the WebEngine by calling WebEngine.load(URL)
- Get the Document object by calling WebEngine.getDocument()
- Get all iframe elements from Document object by calling getElementsByTagName("iframe")
- Loop through the returned NodeList and cast each item as HTMLIFrameElement
- Call method getId() on the HTMLIFrameElement will throw UnsatisfiedLinkError
REGRESSION. Last worked in version 8u51
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It will return the ID of the iFrame set in the HTML
ACTUAL -
throws UnsatisfiedLinkError
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Remove the codes that try to get the iFrame ID
Attachments
Issue Links
- backported by
-
JDK-8139344 [WebView] UnsatisfiedLinkError calling getId on HTMLIFrameElement
- Closed
- relates to
-
JDK-8090062 Update java-wrappers for WebKit generated classes following WebKit update
- Resolved
-
JDK-8098296 Update to Newer Version of WebKit
- Resolved
-
JDK-8169649 [TEST BUG] Create test for JDK-8134470
- Resolved