OSDN Git Service

Fix OpenSSLSessionImpl.getCreationTime and getLastAccessedTime.
authorElliott Hughes <enh@google.com>
Tue, 15 Dec 2009 21:06:11 +0000 (13:06 -0800)
committerElliott Hughes <enh@google.com>
Tue, 15 Dec 2009 21:06:11 +0000 (13:06 -0800)
commit9c9a7be6f40e9c1fc24956fc37e6af43f413ff78
tree52004e426d7368cc6b99ceab0a2172ff3bcba9ff
parentc79b8cbb2d61445d574af83d9752b2804b04671c
Fix OpenSSLSessionImpl.getCreationTime and getLastAccessedTime.

This addresses one part of this abandoned change from ursg:
  https://android-git.corp.google.com/g/4743

I've also tidied up the native method names to use the harmony "-Impl"
convention, removed useless methods that just forward to a native method,
and removed dead code. I've canonicalized some of the duplication too,
but I want to go through the rest of out OpenSSL code before I really start
trying to remove the duplication.

When this is submitted, I'll fix the other (unrelated) bug the abandoned
change addressed.
libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSessionImpl.java
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl.cpp
libcore/x-net/src/test/java/tests/api/javax/net/ssl/SSLSessionTest.java