This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When changing to JDK Vesion Security Exception is coming

 
vanraj vala
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All ,

I have written mine own Security Manger and as well as written BundleProtection domain . Then i have one application that internallu create one thread . Now this all the things are work fine when i compile my application using JDK 1.3 .
But when same application i complied in JDK 1.4 than newly created thread from that program is not getting any security .. and that thread is getting security exception .. !!!
i dont knw why just compilation is making this differerance .. becouse i tried lot of JRE version but that is not making any difference but only Compilation version of the JDK is making differerace.. How security of newly created thread is changing between JDK 1.3 and JDK 1.4 complitation.. ???
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What code is causing the exception to be thrown?
 
vanraj vala
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code that getting exception is just creating new thread and try to do some operation like opening socket connection.

But if this code is compile in jdk 1.3 than it is not getting any exception but when i compiled in jdk 1.4 that time it is getting security exception ...
 
Mallik Soupati
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can post the stack trace, we can have somemore insight into this issue.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic