// Operator= increments reference count.
void operator=(const TempNewSymbol &s) {
//clear(); //FIXME
_temp = s._temp;
if (_temp !=NULL) _temp->increment_refcount();
}
But this is also missing a copy constructor.
void operator=(const TempNewSymbol &s) {
//clear(); //FIXME
_temp = s._temp;
if (_temp !=NULL) _temp->increment_refcount();
}
But this is also missing a copy constructor.
- relates to
-
JDK-8147083 Stronger enforcement for reference counting Symbols
-
- Closed
-