Please review fix for issue #224688 - Long recursion during finding prototype chain

  • From: Petr Pisl < >
  • To:
  • Subject: Please review fix for issue #224688 - Long recursion during finding prototype chain
  • Date: Thu, 10 Jan 2013 11:35:31 +0100

Please review the fix for issue

#224688 - Long recursion during finding prototype chain
http://netbeans.org/bugzilla/show_bug.cgi?id=224688

For resolving types in JS Editor has to be counted prototype chain of the types. In the current situation there can be cases when the counting of the prototype chain through recursion can be never ending. The issue has attached file, where it can be reproduce.

As the result of such case is OutOfMemoryException.

The fix is save, no risk. It doesn't influence other functionality.

Petr Hejl reviews the fix. http://hg.netbeans.org/web-main/rev/c9ab1248b1f0


Thanks,
Petr


Please review fix for issue #224688 - Long recursion during finding prototype chain

Petr Pisl 01/10/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close