Bug 1215715 - (6.4.z) Get the SASL client factories from a privileged block, in case Remoting was loaded from the null class loader
Summary: (6.4.z) Get the SASL client factories from a privileged block, in case Remot...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Remoting
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR2
: EAP 6.4.2
Assignee: David M. Lloyd
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks: 1199231 1219165
TreeView+ depends on / blocked
 
Reported: 2015-04-27 14:18 UTC by Brad Maxwell
Modified: 2017-01-17 10:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 10:12:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brad Maxwell 2015-04-27 14:18:00 UTC
Get the SASL client factories from a privileged block, in case Remoting was loaded from the null class loader

Comment 2 Rostislav Svoboda 2015-04-28 10:16:50 UTC
Please include more detailed description of the problem linked commit is solving.

SET/GSS - please provide automated test (as discussed on triage) to increase CP throughput.
I will qa_ack afterwards or when the scope of CP01 is clear and we have enough seats.

Comment 5 Rostislav Svoboda 2015-05-28 10:05:44 UTC
Please include more detailed description of the problem which is soled by linked commit.

FYI - there is no customer case attached to this BZ.

Comment 10 Richard Janík 2015-06-30 12:24:00 UTC
Fixing null classloader by adding a doPrivileged block does not seem to work for me - classloader is still null - thus FailedQA. Since the last customer ticket has been removed, this bug no longer has a valid customer ticket related to it. Details below:

I've been trying to reproduce the situation where the getClass().getClassLoader() call returns null. I've done that by creating a jar file which contains a testing class (and its methods return the class loader name with and without a doPrivileged block). Then I created another project which calls the methods of the testing class and I've added the jar file to -Xbootclasspath. Thus, when calling a method of the testing class the methods were run from a context with bootstrap (null) classloader. However, both calls to getClass().getClassLoader() (with and without a doPrivileged block) returned null.

Comment 11 David M. Lloyd 2015-06-30 14:22:04 UTC
The point of this issue isn't to somehow magically prevent the class loader from being "null".  The point is to ensure that when the class loader *is* null, and a security manager is present, that the class can be loaded without an error.

Comment 14 Petr Penicka 2017-01-17 10:12:56 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.