[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #17 from Igal Sapir --- (In reply to Christopher Schultz from comment #16) > (In reply to Igal Sapir from comment #13) > > (In reply to Christopher Schultz from comment #12) > > > > > > Below are the relevant log entries: > > >

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #16 from Christopher Schultz --- (In reply to Igal Sapir from comment #13) > (In reply to Christopher Schultz from comment #12) > > Sorry... I must be missing something, here. > > > > System.loadLibrary isn't

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #15 from Igal Sapir --- (In reply to Konstantin Kolinko from comment #14) > I think that this listener must be mentioned on "security-howto.xml". > > http://tomcat.apache.org/tomcat-9.0-doc/security-howto.html#Listeners > > It

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #14 from Konstantin Kolinko --- I think that this listener must be mentioned on "security-howto.xml". http://tomcat.apache.org/tomcat-9.0-doc/security-howto.html#Listeners It can be configured in any container (e.g. in

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #13 from Igal Sapir --- (In reply to Christopher Schultz from comment #12) > Sorry... I must be missing something, here. > > System.loadLibrary isn't ClassLoader-specific... once the library has been > loaded, it can't be loaded

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #12 from Christopher Schultz --- Sorry... I must be missing something, here. System.loadLibrary isn't ClassLoader-specific... once the library has been loaded, it can't be loaded again at all. The code here is all fine, and using

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #11 from Igal Sapir --- JniLifecycleListener, Library.load(), and Library.loadLibrary() available in Tomcat 9.0.13, 8.5.35, and 7.0.92 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 Igal Sapir changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #9 from Igal Sapir --- Commit r1844531 adds JniLifecycleListener to trunk -- You are receiving this mail because: You are the assignee for the bug. - To

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #8 from Igal Sapir --- (In reply to Mark Thomas from comment #7) > Listeners can use arguments. Look at the existing Tomcat listeners for > examples. Of course they can. Don't know what I was thinking. _facepalm_ -- You are

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #7 from Mark Thomas --- Listeners can use arguments. Look at the existing Tomcat listeners for examples. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #6 from Igal Sapir --- (In reply to Remy Maucherat from comment #3) > Personally, I think native libraries can use extra care and if you're going > to write a bit of Tomcat code, I would recommend writing a bit more and > using a

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 Mark Thomas changed: What|Removed |Added Severity|normal |enhancement -- You are receiving this

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #5 from Igal Sapir --- (In reply to Remy Maucherat from comment #3) > Yes, if it was using the thread context classloader, like is done nearly > 100% of the time elsewhere, it would be useless. Weird stuff there. > > Personally, I

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #4 from Igal Sapir --- (In reply to Mark Thomas from comment #2) > I think it would be worth updating the Javadoc for the new methods to make > it clear that System.load[Library]() associates the loaded library not with > the

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #3 from Remy Maucherat --- Yes, if it was using the thread context classloader, like is done nearly 100% of the time elsewhere, it would be useless. Weird stuff there. Personally, I think native libraries can use extra care and if

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #2 from Mark Thomas --- I think it would be worth updating the Javadoc for the new methods to make it clear that System.load[Library]() associates the loaded library not with the current thread context class loader but with the

[Bug 62830] Add static methods to load native libraries by the Common ClassLoader

2018-10-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62830 --- Comment #1 from Igal Sapir --- Commit r1844065 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: