Bug 49882 - Investigate support for JDK 1.5 features
Summary: Investigate support for JDK 1.5 features
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement with 3 votes (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 16:27 EST by Darin Wright CLA
Modified: 2004-08-04 19:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2004-01-12 16:27:55 EST
Investigate impact of 1.5 features on JDI/JDWP and Java debug model.
Comment 1 Luc Bourlier CLA 2004-02-27 20:47:45 EST
Released basic Java 1.5 debug support.

Visible changes : The generic names are displayed in the debug views when
availables. Variable argument methods are displayed with the trailling '...'.

Implemented JDI 1.5 spec (without the support for 'Pluggable Connections and
Transports', in com.sun.jdi.connect.spi).
Updated the TcpIp spy.
Modified JDIModelPresentation#getQualifiedName() to manage generic names in the
'show qualified name' option.
Modified JavaBreakpoint#installableReferenceType() to be able to install
breakpoints in generic types.


Changes in com.sun.jdi :
ClassType
Field
LocalVariable
Method
ReferenceType
TypeComponent
VirtualMachine
VirtualMachineManager
new types:
VMCannotBeModifiedException
connect/TransportTimeoutException
connect/spi/ClosedConnectionException
connect/spi/Connection
connect/spi/TransportService

Changes in the implementation (org.eclipse.jdi.internal):
AccessibleImpl
ArrayTypeImpl
ClassTypeImpl
FieldImpl
InterfaceTypeImpl
LocalVariableImpl
MethodImpl
ObjectReferenceImpl
ReferenceTypeImpl
TypeComponentImpl
TypeImpl
VirtualMachineImpl
VirtualMachineManagementImpl
jdwp/JdwpCommandPacket
New Types:
GenericSignature

Filed bug 53334, to try to improve the breakpoint support until JDT release the
new AST.

I have to file a bug report against Sun, it looks like the VM doesn't return the
generic information available for the variables.

Please fill new bug reports if you find any problem.
Comment 2 Luc Bourlier CLA 2004-02-27 20:50:27 EST
Please verify, darin W.
Comment 3 Darin Wright CLA 2004-03-08 15:36:49 EST
marking as verified. New bugs will be opened as/if required.
Comment 4 Luc Bourlier CLA 2004-08-04 19:29:28 EDT
I checked our JDI interface files against the specs. I found 2 problems, the
method modifiers() was not defined in Accessible (we had no problem because it
was defined in AccessibleImpl), and one new class from Java 5 was missing,
JDIPermission.

I fixed them and released the changes.

I also cleaned up the files (re-order the method, removed some redefined
methods, removed the non-speced class UserDefinedRequest)