NoSuchElementException in PropertyMapIterator

Ahmed Ashour asashour at yahoo.com
Mon Dec 5 13:33:58 UTC 2016


Hi Hannes,
Well, as part of HtmlUnit (headless browser simulator), we can not use Nashorn without modifications, since there are browser-specific peculiarities we must blindly follow.
I would say the most difficult part, is to customize Global ('window' in browser usage) to join it with other objects.  This is currently overcome, by having one-to-one relationship between Global and Window.
Thanks a lot, and keep the good work.
Ahmed

      From: Hannes Wallnöfer <hannes.wallnoefer at oracle.com>
 To: Ahmed Ashour <asashour at yahoo.com> 
Cc: "nashorn-dev at openjdk.java.net" <nashorn-dev at openjdk.java.net>
 Sent: Monday, December 5, 2016 2:22 PM
 Subject: Re: NoSuchElementException in PropertyMapIterator
   
Hi Ahmed,

yes, this is a bug, thanks for reporting it. 

Out of curiosity, , since it is not an exported API class: How are you using PropertyMap?

Hannes
   


More information about the nashorn-dev mailing list