aspose file tools*
The moose likes Security and the fly likes When changing to JDK Vesion Security Exception is coming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "When changing to JDK Vesion Security Exception is coming" Watch "When changing to JDK Vesion Security Exception is coming" New topic
Author

When changing to JDK Vesion Security Exception is coming

vanraj vala
Greenhorn

Joined: Jan 23, 2006
Posts: 3
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
Marshal

Joined: Mar 22, 2005
Posts: 41905
    
  63
What code is causing the exception to be thrown?


Ping & DNS - my free Android networking tools app
vanraj vala
Greenhorn

Joined: Jan 23, 2006
Posts: 3
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

Joined: Aug 20, 2006
Posts: 7
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
 
subject: When changing to JDK Vesion Security Exception is coming