• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

When changing to JDK Vesion Security Exception is coming

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.. ???
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What code is causing the exception to be thrown?
 
vanraj vala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ...
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you can post the stack trace, we can have somemore insight into this issue.
 
reply
    Bookmark Topic Watch Topic
  • New Topic