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 47702 Details for
Bug 153133
[model] toggle breakpoint in constructor creates a class load breakpoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
v00.txt (text/plain), 1.55 KB, created by
Frederic Fusier
on 2006-08-10 11:41:13 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2006-08-10 11:41:13 EDT
Size:
1.55 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/SourceMapper.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java,v >retrieving revision 1.126 >diff -u -r1.126 SourceMapper.java >--- model/org/eclipse/jdt/internal/core/SourceMapper.java 18 Jul 2006 10:20:48 -0000 1.126 >+++ model/org/eclipse/jdt/internal/core/SourceMapper.java 10 Aug 2006 15:41:01 -0000 >@@ -34,6 +34,7 @@ > import org.eclipse.core.runtime.IPath; > import org.eclipse.core.runtime.IStatus; > import org.eclipse.core.runtime.Path; >+import org.eclipse.jdt.core.Flags; > import org.eclipse.jdt.core.IClassFile; > import org.eclipse.jdt.core.IField; > import org.eclipse.jdt.core.IJavaElement; >@@ -718,7 +719,13 @@ > this.memberDeclarationStart[typeDepth] = methodInfo.declarationStart; > IType currentType = this.types[typeDepth]; > char[][] parameterTypes = methodInfo.parameterTypes; >- if (parameterTypes != null && methodInfo.isConstructor && currentType.getDeclaringType() != null) { >+ boolean isStatic = false; >+ try { >+ isStatic = Flags.isStatic(currentType.getFlags()); >+ } catch (JavaModelException e) { >+ // skip >+ } >+ if (!isStatic && parameterTypes != null && methodInfo.isConstructor && currentType.getDeclaringType() != null) { > IType declaringType = currentType.getDeclaringType(); > String declaringTypeName = declaringType.getElementName(); > if (declaringTypeName.length() == 0) {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 153133
:
47702
|
51149