Skip to content

Commit 298ce67

Browse files
tarzanekVladimir Kotal
authored andcommitted
bcel upgrade to 6.4.1
1 parent c4679de commit 298ce67

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

opengrok-indexer/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ CDDL HEADER END
2020
2121
Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
2222
Portions Copyright (c) 2017-2019, Chris Fraire <[email protected]>.
23+
Portions Copyright (c) 2020-2020, Lubos Kosco <[email protected]>.
2324
2425
-->
2526
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/executables/JavaClassAnalyzer.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/*
2121
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2018-2019, Chris Fraire <[email protected]>.
23+
* Portions Copyright (c) 2020-2020, Lubos Kosco <[email protected]>.
2324
*/
2425
package org.opengrok.indexer.analysis.executables;
2526

@@ -306,7 +307,7 @@ private void getContent(Writer out, Writer fout, JavaClass c,
306307
fout.write(SPACE);
307308
out.write(SPACE);
308309
}
309-
fldsig = Utility.signatureToString(fld.getSignature());
310+
fldsig = Utility.typeSignatureToString(fld.getSignature(), true);
310311
out.write(fldsig);
311312
fout.write(fldsig);
312313
out.write(SPACE);
@@ -422,7 +423,7 @@ private void printLocal(Writer out, Writer fout, LocalVariable l,
422423
out.write(TAB);
423424
fout.write(TAB);
424425
fout.write(TAB);
425-
String sig = Utility.signatureToString(l.getSignature());
426+
String sig = Utility.typeSignatureToString(l.getSignature(), true);
426427
out.write(sig);
427428
fout.write(sig);
428429
out.write(SPACE);
@@ -484,7 +485,7 @@ public String constantToString(Constant c, ConstantPool cp, int[] v)
484485
str = Utility.methodSignatureToString(sig,
485486
constantToString(cp.getConstant(i), cp, v), " ");
486487
} else {
487-
str = Utility.signatureToString(sig) + ' ' +
488+
str = Utility.typeSignatureToString(sig, true) + ' ' +
488489
constantToString(cp.getConstant(i), cp, v);
489490
}
490491
//str = constantToString(cp.getConstant(i)) +' ' + sig;

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
9191
<dependency>
9292
<groupId>org.apache.bcel</groupId>
9393
<artifactId>bcel</artifactId>
94-
<version>6.2</version>
94+
<version>6.4.1</version>
9595
</dependency>
9696
<dependency>
9797
<groupId>org.apache.lucene</groupId>

0 commit comments

Comments
 (0)