DO NOT REPLY [Bug 39855] New: - [PATCH] Add support for getResource and getResourceAsStream to ClassPath

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]/bugzilla/>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39855>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39855

           Summary: [PATCH] Add support for getResource and
                    getResourceAsStream to ClassPath
           Product: BCEL
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


We have used BCEL to implement a ClassLoader that takes a user-defined
classpath.  Internally it uses a BCEL ClassPath object which is used to
construct a Repository.   Regular class loading works just fine.

However, when users call getResource or getResourceAsStream, this should be
performed with respect to the ClassPath of the ClassLoader.  At first I tried
using the getInputStream method of ClassPath, but it assumes the input streams
are going to correspond to class data.

I have added support for getResource and getResourceAsStream to ClassPath. Patch
to be attached.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.