[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-bugs
Subject:    [jacorb-bugs] [Bug 215] New: Priority of Request Controller Threads not set
From:       bugzilla-daemon () inf ! fu-berlin ! de
Date:       2002-06-22 17:02:04
Message-ID: E17LoGy-0004uv-00 () berners
[Download RAW message or body]

http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=215

           Summary: Priority of Request Controller Threads not set
           Product: JacORB
           Version: 1.4 beta 4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: ORB
        AssignedTo: gerald.brose@acm.org
        ReportedBy: kanis@addc.ch
         QAContact: jacorb-bugs@lists.spline.inf.fu-berlin.de


Changing the thread priority in the properties file has no effect, threads 
always run at either MIN or MAX. This bug has been present since the first beta 
I tried. 
The error is in the file org.jacorb.poa.RequestController.java in the 
constructor:

        if( threadPriority < Thread.MIN_PRIORITY )
            threadPriority = Thread.MIN_PRIORITY;
        else if( threadPriority > Thread.MIN_PRIORITY )
            threadPriority = Thread.MAX_PRIORITY;

        setPriority(threadPriority);

should read:

        if( threadPriority < Thread.MIN_PRIORITY )
            threadPriority = Thread.MIN_PRIORITY;
        else if( threadPriority > Thread.MAX_PRIORITY )
            threadPriority = Thread.MAX_PRIORITY;

        setPriority(threadPriority);

Best regards,

Peter Kanis
ADDC Infotecg GmbH



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic