JDK-8165302 : Upcall from JavaScript to Java is broken
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u112
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_7
  • CPU: x86
  • Submitted: 2016-08-25
  • Updated: 2016-12-17
  • Resolved: 2016-09-02
Related Reports
Relates :  
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_112-ea"
Java(TM) SE Runtime Environment (build 1.8.0_112-ea-b04)
Java HotSpot(TM) Client VM (build 25.112-b04, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
Setting a member on the "window" JSObject no longer be able to callback to the java method. It works sometime, but most of the time it is not working. It used to work for JDK1.8.0_92.



REGRESSION.  Last worked in version 8u92


REPRODUCIBILITY :
This bug can be reproduced often.


Comments
According to information received from the original reporter, my above speculation is correct. Thus I am closing this as "not a bug".
02-09-2016

Without a test case I can't be certain, but based on the reporter's description, this is likely a result of the fix for JDK-8089681. If so, then this is not a bug, but rather an intentional change in behavior. See JDK-8154127, where we documented this change.
01-09-2016