[SERVER-407] Change in Google v8 TryCatch interface Created: 05/Nov/09  Updated: 12/Jul/16  Resolved: 23/Nov/09

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 1.1.3
Fix Version/s: 1.1.4

Type: Bug Priority: Major - P3
Reporter: metagoto Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Recently, Google v8 TryCatch interface changed:

'void* v8::TryCatch::next_' is now private
url: http://code.google.com/p/v8/source/detail?r=3228
diff: http://code.google.com/p/v8/source/diff?spec=svn3228&r=3228&format=side&path=/branches/bleeding_edge/include/v8.h
This is a bleeding edge revision. By the way, the name suffix suggests it should not be used by client code.

Mongo's affected file is scripting/v8_utils.cpp where there are 2 occurrences of TryCatch::next_ in:
std::string toSTLString( const v8::TryCatch * try_catch )
std::ostream& operator<<( std::ostream &s, const v8::TryCatch * try_catch )

Do mongo really needs to loop over that private member ?
mongo does not compile against the bleeding edge version of v8 unless we remove the loops



 Comments   
Comment by auto [ 05/Aug/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: SERVER-407: some source files do not include licence information
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/806c2038d6afd710845ee0df9d026c146652af16

Generated at Thu Feb 08 02:53:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.