So my question is, how does this work? I've noticed that your committed build.properties are on net.rim.ejde.componentpack6.0.0_6.0.0.29, while the ones I'm using are net.rim.ejde.componentpack6.0.0_6.0.0.30. Would this be the difference? Can you verify in Eclipse that your TLS10Connection from JRE 6.0.0 looks like this:

When I change the settings for LogicMail project in Eclipse to require BB JRE 6.0.0, the error is also present in Eclipse, so this is in no way ant-specific.

Is it possible that RIM changed TLS10Connection from 6.0.0.29 to 6.0.0.30 this way? If so, what are your plans for this? SDK 7.0.0.21 also has TLS10Connection looking like this, i.e. not implementing javax.microedition.io.SocketConnection.

adam.wos

08/09/11 06:32:04 (7 years ago)

Message #577

I just checked the build server, which is based off the first release of the 6.0 component pack, and I haven't updated since.

On there, TLS10Connection implements net.rim.device.cldc.io.ssl.SSLConnection, which implements javax.microedition.io.SecureConnection, which implements SocketConnection. Of course this entire chain is undocumented, and I had to un-jar and jad (java decompiler) TLS10Connection to find it.

Then I just checked with net_rim_api.jar from the component pack you mentioned (6.0.0.30), and I can confirm that "SSLConnection" is no longer on the list of implemented interfaces. However, all the methods that were ultimately provided through that interface are still there.

Now I want to see what sort of connection object is actually returned in 6.0 for a pure SSL socket (it was TLS10Connection in the past).

But anyways, I'll need to fix this, and may wind up just wrapping TLS10Connection in a decorator that actually implements SocketConnection.

octo

08/09/11 06:44:24 (7 years ago)

Message #579

Sorry for the late reply - this got into spam for an unknown reason :)

I think it will need to be fixed, since in 6.0 they did this change, and this is also the case in 7.0, so I guess it's an intentional change on RIM's part.