Closed
Bug 198208
Opened 22 years ago
Closed 22 years ago
Removal of deprecated in 1.5R4 classes
Categories
(Rhino Graveyard :: Core, enhancement)
Rhino Graveyard
Core
Tracking
(Not tracked)
VERIFIED
FIXED
1.5R5
People
(Reporter: igor, Assigned: norrisboyd)
Details
Attachments
(2 files, 1 obsolete file)
13.50 KB,
patch
|
Details | Diff | Splinter Review | |
9.33 KB,
patch
|
Details | Diff | Splinter Review |
I suggest to remove deprecated in 1.5R4 omj.ClassOutput and omj.SecuritySupport
since ClassOutput is not supposed to be used since 1.5R3 and I would prefer that
code using SecuritySupport would be upgraded to use
ClassShutter/SecurityController sooner then later.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Attachment #117717 -
Attachment is obsolete: true
Reporter | ||
Comment 3•22 years ago
|
||
I commited the patch part that deals with removal of the deprecated
omj.SecuritySupport.
Reporter | ||
Comment 4•22 years ago
|
||
Comment 5•22 years ago
|
||
Verifying checkin in Comment #3 removing |SecuritySupport|:
1. CVS-removal of the file SecuritySupport.java
2. Removal from the file Context.java of references to |SecuritySupport|
Reporter | ||
Comment 6•22 years ago
|
||
I committed the above patch so now omj.Context does not depend on
ClassNameHelper. In fact, now only optimizer package depends on
omj.ClassNameHelper and omj.ClassRepository and this classes are not useful on
its own and perhaps they can be moved to optimizer package to reduce code size
when Rhino embedding does not need optimizer? But this is for another bugzilla
report.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
Trying to verify the checkin, but it seems to contain additional
elements from the patch. For example, in bonsai, the differences
between v1.17 and v1.16 of ClassNameHelper.java shows this change:
WAS THIS:
---------------------------- v.1.16 ----------------------------
public String getTargetClassFileName() {
ClassRepository repository = getClassRepository();
if (repository instanceof FileClassRepository) {
return ((FileClassRepository)repository).
getTargetClassFileName(getClassName());
}
return null;
}
NOW THIS:
---------------------------- v.1.17 ----------------------------
public abstract String getTargetClassFileName();
but I can't see that change in the patch. Is that correct?
Reporter | ||
Comment 8•22 years ago
|
||
I should be more careful next time not to infect my commits related to a
particular patch with other changes.
That
public String getTargetClassFileName() {...}
is replaced by
public abstract String getTargetClassFileName();
and its code is moved to optimizer/OptClassNameHelper.java since the only way to
access ClassNameHelper is through OptClassNameHelper instances. In this way
applications that do not use optimizer will have less code.
You need to log in
before you can comment on or make changes to this bug.
Description
•