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 65838 Details for
Bug 141540
Use JVMTI instead of JVMPI to get event notification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for size limit restriction
_141540_sizeLimit_patch.txt (text/plain), 3.53 KB, created by
Liz Dancy
on 2007-05-03 16:28:12 EDT
(
hide
)
Description:
Patch for size limit restriction
Filename:
MIME Type:
Creator:
Liz Dancy
Created:
2007-05-03 16:28:12 EDT
Size:
3.53 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.probekit.launch >Index: src/org/eclipse/tptp/platform/probekit/launch/launchpad/LaunchPadJVMTI.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.probekit.launch/src/org/eclipse/tptp/platform/probekit/launch/launchpad/LaunchPadJVMTI.java,v >retrieving revision 1.1 >diff -u -r1.1 LaunchPadJVMTI.java >--- src/org/eclipse/tptp/platform/probekit/launch/launchpad/LaunchPadJVMTI.java 1 May 2007 16:36:21 -0000 1.1 >+++ src/org/eclipse/tptp/platform/probekit/launch/launchpad/LaunchPadJVMTI.java 3 May 2007 20:22:40 -0000 >@@ -156,13 +156,13 @@ > if(null != registryEntry) > { > registryEntries.add(registryEntry); >- >+ deployProbes(registryEntry, registryEntries.size()-1); > } > } > }// end if > }// end while > // once we have all of the information for all of the selected probes, call deployProbes >- deployProbes(registryEntries); >+ //deployProbes(registryEntries); > }// end method > > >@@ -352,17 +352,13 @@ > * > * @param RegsitryEntries - Vector of selected probes' Regsitry Entries > */ >- public void deployProbes(Vector probeRegistryEntries) throws LaunchPadException >+ public void deployProbes(ProbeRegistryEntry probeRegistryEntry, int probeNumber) throws LaunchPadException > { > try > { >- ProbeRegistryEntry probeRegistryEntry = null; >+ > Vector classPathVector = new Vector(); >- for ( int i=0; i< probeRegistryEntries.size(); i++) >- { >- if (probeRegistryEntries.get(i) instanceof ProbeRegistryEntry) >- { >- probeRegistryEntry = (ProbeRegistryEntry)probeRegistryEntries.get(i); >+ > File probeScript = probeRegistryEntry.getProbescript(); > > File probeFiles[] = probeRegistryEntry.getFiles(); >@@ -386,9 +382,9 @@ > > } > >- } >- } >- prepareFileArrays(classPathVector.toArray(), agent); >+ >+ >+ prepareFileArrays(classPathVector.toArray(), agent, probeNumber); > } > > catch (InvalidProbeBundleException ex) >@@ -408,7 +404,7 @@ > * @param agent- the active agent we will use to send commands > */ > >- public void prepareFileArrays(Object [] probeClassPath, ICollector agent)throws LaunchPadException >+ public void prepareFileArrays(Object [] probeClassPath, ICollector agent, int probeNumber)throws LaunchPadException > { > try{ > Vector classNames = new Vector(); >@@ -434,7 +430,7 @@ > } > } > >- deployProbeClasses(bytes, classNames, agent); >+ deployProbeClasses(bytes, classNames, agent, probeNumber); > } > catch(FileNotFoundException e) > { >@@ -458,7 +454,7 @@ > * @param agent - The currently active agent > * @throws LaunchPadException > */ >- public static void deployProbeClasses(Vector bytes, Vector classNames, IAgent agent) throws LaunchPadException >+ public static void deployProbeClasses(Vector bytes, Vector classNames, IAgent agent, int probeNumber) throws LaunchPadException > { > try > { >@@ -501,7 +497,7 @@ > CommandFragment command = new CommandFragment(); > command.setCommand( > "<applyOptions iid='org.eclipse.tptp.jvmti'>" + >- "<option><name>PROBEKIT_CLASS</name>" + >+ "<option><name>PROBEKIT_DATA_" + String.valueOf(probeNumber)+"</name>" + > "<value>" + commandData + "</value></option></applyOptions>"); > > // Invoke RAC command- this is using the new sendCommand from the new execution framework
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 141540
:
64054
|
64200
|
64202
|
64210
|
64938
|
65067
|
65068
| 65838 |
65909
|
65934