Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 705599 Details for
Bug 918199
It is not possible to run EAP with JSVC util
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for static start-methods
daemon-1.0.13-bz918199.patch (text/plain), 921 bytes, created by
Mladen Turk
on 2013-03-05 18:48:25 UTC
(
hide
)
Description:
patch for static start-methods
Filename:
MIME Type:
Creator:
Mladen Turk
Created:
2013-03-05 18:48:25 UTC
Size:
921 bytes
patch
obsolete
>--- src/main/java/org/apache/commons/daemon/support/DaemonWrapper.java.org 2013-02-06 15:24:20.000000000 +0100 >+++ src/main/java/org/apache/commons/daemon/support/DaemonWrapper.java 2013-03-05 19:43:18.000000000 +0100 >@@ -20,6 +20,7 @@ > package org.apache.commons.daemon.support; > > import java.lang.reflect.Method; >+import java.lang.reflect.Modifier; > import java.util.ArrayList; > import java.util.Arrays; > import org.apache.commons.daemon.Daemon; >@@ -226,7 +227,11 @@ > System.exit(0); > } > else { >- Object obj = main.newInstance(); >+ Object obj = null; >+ if ((inst.getModifiers() & Modifier.STATIC) == 0) { >+ // We only need object instance for non-static methods. >+ obj = main.newInstance(); >+ } > Object arg[] = new Object[1]; > > arg[0] = args;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 918199
: 705599 |
705600
|
738558
|
738559