From 07ef05adb52388bcfe17f62da5a97207fae89571 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Mon, 1 Sep 2003 17:26:57 +0000 Subject: [PATCH] Revert what I think is an accidental commit by Marcus that slipped in at revision 1.23. Declaring getMessage() as final is a PITA, so I hope it will not come to that. --- Zend/zend_default_classes.c | 2 +- Zend/zend_exceptions.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_default_classes.c b/Zend/zend_default_classes.c index db4617bf6e..4d6b6f5d81 100644 --- a/Zend/zend_default_classes.c +++ b/Zend/zend_default_classes.c @@ -333,7 +333,7 @@ ZEND_METHOD(exception, tostring) */ static zend_function_entry default_exception_functions[] = { ZEND_ME(exception, __construct, NULL, 0) - ZEND_ME(exception, getmessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) + ZEND_ME(exception, getmessage, NULL, 0) /* non final for now */ ZEND_ME(exception, getcode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) ZEND_ME(exception, getfile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) ZEND_ME(exception, getline, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index db4617bf6e..4d6b6f5d81 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -333,7 +333,7 @@ ZEND_METHOD(exception, tostring) */ static zend_function_entry default_exception_functions[] = { ZEND_ME(exception, __construct, NULL, 0) - ZEND_ME(exception, getmessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) + ZEND_ME(exception, getmessage, NULL, 0) /* non final for now */ ZEND_ME(exception, getcode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) ZEND_ME(exception, getfile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) ZEND_ME(exception, getline, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) -- 2.40.0