Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 114268 Details for
Bug 249691
NullPointerException at org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember.getTypeDeclaration:175
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
AJ code that triggered the exception
HttpURLConnectionAspect.aj (text/plain), 667 bytes, created by
Brett C.
on 2008-10-04 19:14:33 EDT
(
hide
)
Description:
AJ code that triggered the exception
Filename:
MIME Type:
Creator:
Brett C.
Created:
2008-10-04 19:14:33 EDT
Size:
667 bytes
patch
obsolete
>//HIDE >package security_patterns.abstract_.aspects; > >import java.io.InputStream; >import java.net.HttpURLConnection; >//END HIDE > >public aspect HttpURLConnectionAspect > extends StreamAspect<InputStream> { > > protected pointcut monitor(): > call(InputStream > HttpURLConnection.getInputStream()); > > InputStream around(HttpURLConnection that): > target(that) && monitor() && ignore() { > > InputStream stream = proceed(that); > > if (that.getContentType().contains("html")) > return wrap(stream, Format.HTML); > else if (that.getContentType().contains("xml")) > return wrap(stream, Format.XML); > else > return proceed(that); > > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 249691
: 114268