Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321783

Summary: [ProbekitAgent] java.lang.ClassFormatError: (Zombie) unexpected EOF at offset=0
Product: z_Archived Reporter: Mike Reid <mikereid>
Component: TPTPAssignee: Mike Reid <mikereid>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P3 CC: jgwest
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: other   
Whiteboard:
Attachments:
Description Flags
patch none

Description Mike Reid CLA 2010-08-04 15:21:27 EDT
Probe insertion on 64-bit big-endian platforms fails with a ClassFormatError.

The problem occurs due to a 32-bit/64-bit integer size mismatch. On little-endian machines the bug is hidden as a result of the different byte ordering.
Comment 1 Mike Reid CLA 2010-08-04 15:36:56 EDT
Created attachment 175881 [details]
patch

Attached patch to change the `IInstrumenter::Instrument` signature to use `S32`, to match the types passed to `MPI::IJavaClassFileLoadHookEventObserver::HandleEvent`.
Comment 2 Mike Reid CLA 2010-08-04 15:52:13 EDT
Patch checked into HEAD.
Comment 3 Kathy Chan CLA 2011-02-11 13:46:33 EST
This defect had been resolved as FIXED for more than 1 month.  Please verify with the latest TPTP 4.7.2 driver.  If this defect is still left unverified by February 25, we'll close it on the originator's behalf.

TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 4 Mike Reid CLA 2011-04-04 11:03:03 EDT
Closing.