Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Missing files: com.ms.security.* and netscape.security.*

 
Matt Kidd
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am decompiling and recompiling an application that uses an applet and these to libraries are missing. I realize they are somehow associated to the signing of the applet but I currently do not have copies of them. Anyone know where I can get a copy?

Matt
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both are way, WAY, obsolete. Neither Microsoft nor Netscape have a JVM any more, so the only way to sign applets is the official one described in the Sun JVM documentation. Some related info can be found in HowCanAnAppletReadFilesOnTheLocalFileSystem.
 
Matt Kidd
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured as much with my googling today...and with your post I checked the code one more time and this dawned on me:



if I'm writing code to replace this applet....why do I need this batch of code which is located in the init method?

I'm so hating hackin this app just get this enhancement installed just to be a stop gap before we upgrade the whole application.



I think I'm just going to forgo trying to find this and just refactor this so the code doesn't run....
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those statements do in a Microsoft/Netscape JVM what in a (these days) standard Sun JVM applet signing does. So if the applet is signed, none of that is necessary.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic