reassign 413116 classpath 0.91-3
# I tested it with 0.92-4, but 0.92-1 was probably fixed too.
notfound 413116 0.92-4
tags 413116 patch
thanks
Hello,
Thanks Michel and Matthew for your answers.
I'm reassigning this bug to classpath. It is fixed upstream in classpath
0.92.
I could reproduce it with classpath 0.91-3, and confirm it's fixed on
0.92-4.
Please find attached a minimal patch to fix this issue (taken from
upstream).
classpath's maintainer, jamvm seems to be unusable in some conditions
because of this bug. It could be worth sending this patch to t-p-u.
King Regards,
--
Nekral
diff -rauN ../orig/classpath-0.91/debian/changelog ./classpath-0.91/debian/changelog
--- ../orig/classpath-0.91/debian/changelog 2007-03-11 22:46:44.000000000 +0100
+++ ./classpath-0.91/debian/changelog 2007-03-11 23:00:46.000000000 +0100
@@ -1,3 +1,11 @@
+classpath (2:0.91-3.1) unstable; urgency=low
+
+ * Merge change from upstream
+ java/util/logging/LogManager.java (getLevelProperty): Check whether value
+ is null before passing to Level.parse(). Closes: #413116
+
+ -- Nicolas FRANCOIS (Nekral) <[EMAIL PROTECTED]> Sun, 11 Mar 2007 22:59:22 +0100
+
classpath (2:0.91-3) unstable; urgency=low
* Install header files to /usr/include/classpath.
diff -rauN ../orig/classpath-0.91/java/util/logging/LogManager.java ./classpath-0.91/java/util/logging/LogManager.java
--- ../orig/classpath-0.91/java/util/logging/LogManager.java 2006-04-03 10:59:53.000000000 +0200
+++ ./classpath-0.91/java/util/logging/LogManager.java 2007-03-12 00:39:33.000000000 +0100
@@ -700,7 +700,11 @@
{
try
{
- return Level.parse(getLogManager().getProperty(propertyName));
+ String value = getLogManager().getProperty(propertyName);
+ if (value != null)
+ return Level.parse(getLogManager().getProperty(propertyName));
+ else
+ return defaultValue;
}
catch (Exception ex)
{
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers