Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
19634959
Commit
19634959
authored
13 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- fixed new initialization error in log4j ZeroConfSupport
parent
d79a85eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+7
-4
7 additions, 4 deletions
...fr/inrialpes/exmo/align/service/AServProtocolManager.java
with
7 additions
and
4 deletions
src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+
7
−
4
View file @
19634959
...
@@ -476,7 +476,7 @@ public class AServProtocolManager {
...
@@ -476,7 +476,7 @@ public class AServProtocolManager {
}
}
// Erase it from storage
// Erase it from storage
try
{
try
{
alignmentCache
.
eraseAlignment
(
id
);
alignmentCache
.
eraseAlignment
(
id
,
true
);
}
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
}
// ignore
}
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
}
// ignore
// Should be a SuppressedAlignment
// Should be a SuppressedAlignment
return
new
AlignmentId
(
newId
(),
mess
,
myId
,
mess
.
getSender
(),
id
,(
Properties
)
null
,
return
new
AlignmentId
(
newId
(),
mess
,
myId
,
mess
.
getSender
(),
id
,(
Properties
)
null
,
...
@@ -899,7 +899,9 @@ public class AServProtocolManager {
...
@@ -899,7 +899,9 @@ public class AServProtocolManager {
public
static
boolean
implementsInterface
(
String
classname
,
Class
tosubclass
,
boolean
debug
)
{
public
static
boolean
implementsInterface
(
String
classname
,
Class
tosubclass
,
boolean
debug
)
{
try
{
try
{
if
(
classname
.
equals
(
"org.apache.xalan.extensions.ExtensionHandlerGeneral"
)
)
throw
new
ClassNotFoundException
(
"Stupid JAVA/Xalan bug"
);
if
(
classname
.
equals
(
"org.apache.xalan.extensions.ExtensionHandlerGeneral"
)
||
classname
.
equals
(
"org.apache.log4j.net.ZeroConfSupport"
)
)
throw
new
ClassNotFoundException
(
"Classes breaking this work"
);
// JE: Here there is a bug that is that it is not possible
// JE: Here there is a bug that is that it is not possible
// to have ALL interfaces with this function!!!
// to have ALL interfaces with this function!!!
// This is really stupid but that's life
// This is really stupid but that's life
...
@@ -917,9 +919,10 @@ public class AServProtocolManager {
...
@@ -917,9 +919,10 @@ public class AServProtocolManager {
if
(
debug
)
System
.
err
.
println
(
" I> "
+
interfaces
[
i
]
);
if
(
debug
)
System
.
err
.
println
(
" I> "
+
interfaces
[
i
]
);
}
}
// Not one of our classes
// Not one of our classes
}
catch
(
ExceptionInInitializerError
eiie
)
{
}
catch
(
NoClassDefFoundError
ncdex
)
{
}
catch
(
NoClassDefFoundError
ncdex
)
{
}
catch
(
ClassNotFoundException
cnfex
)
{
}
catch
(
ClassNotFoundException
cnfex
)
{
}
catch
(
UnsatisfiedLinkError
ule
)
{
}
catch
(
UnsatisfiedLinkError
ule
)
{
if
(
debug
)
System
.
err
.
println
(
" ******** "
+
classname
);
if
(
debug
)
System
.
err
.
println
(
" ******** "
+
classname
);
}
}
return
false
;
return
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment