[jruby-joni] 18/279: Null Regexp.warnings field so it doesn't contain hard reference to the runtime.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:26:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit 83a217ef3b749aeff93eb259ba4b808d40112869
Author: Marcin Mielżyński <lopx at gazeta.pl>
Date: Mon Mar 3 22:42:59 2008 +0000
Null Regexp.warnings field so it doesn't contain hard reference to the runtime.
git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@6090 961051c9-f516-0410-bf72-c9f7e237a7b7
---
src/org/joni/Regex.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/org/joni/Regex.java b/src/org/joni/Regex.java
index d05f34c..d7ce4b0 100644
--- a/src/org/joni/Regex.java
+++ b/src/org/joni/Regex.java
@@ -56,7 +56,7 @@ public final class Regex implements RegexState {
int[]repeatRangeLo;
int[]repeatRangeHi;
- public final WarnCallback warnings;
+ public WarnCallback warnings;
final Encoding enc;
int options;
@@ -123,6 +123,8 @@ public final class Regex implements RegexState {
this.warnings = warnings;
new Compiler(new ScanEnvironment(this, syntax), bytes, p, end).compile();
+
+ this.warnings = null;
}
public Matcher matcher(byte[]bytes) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list