为什么我的applet继续下载String.class?

时间:2011-11-19 18:19:44

标签: java caching applet

我有一个applet运行着一个巨大的依赖jar存档。这些似乎都正确加载和缓存。但是,在调试级别5运行时,我的java控制台发送了以下消息:

network: Cache entry not found [url: https://localhost:8443/client-lib/%5bLjava/lang/String.class;, version: null]
network: Connecting https://localhost:8443/client-lib/%5bLjava/lang/String.class; with proxy=DIRECT
network: Connecting http://localhost:8443/ with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store

这是我的applet标签

<applet 
   code="com.corp.product.MyApplet.class"
   codebase=https://localhost:8443/client-lib/
   archive="jar1.jar, jar2.jar, jar3.jar, jar99.jar, jarN.jar"
   width=100% height=100%>
</applet>

我正在运行JRE1.6u29。如果罐子是否签名,问题仍然存在。如果我打开或关闭SSL运行,就会发生这种情况。任何其他课程都没有消息。当对象被反序列化(接收到事件)时,似乎会发生这种情况。我的applet是否认为应该从服务器中提取String.class?

更新:使用网络嗅探器确认 - 每次打印此消息时,客户端向服务器发出250字节请求并接收1375字节响应。

0 个答案:

没有答案