[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#350772: marked as done (libgcj6-dev: test program for regex bug)



Your message dated Wed, 23 Jan 2008 12:37:50 +0100
with message-id <18327.9998.410544.609980@gargle.gargle.HOWL>
and subject line static libgcj not provided by current gcj packages.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libgcj6-dev
Version: 4.0.2-5j2
Severity: normal

Subject: libgcj6-dev: test program for regex bug
Package: libgcj6-dev
Version: 4.0.2-5j2
Severity: normal

Hello,
this is an update to Debian bug report #327411
about java code compiled with --static which fails to execute
doing something within the gnu.regexp package.

I haven't got a patch, but at least I have a small test program:
------knip knip------------
public class RegexTest {
  public static void main(String[] args)
  {
	  java.util.regex.Pattern.compile("x");
  }
}
------knip knip------------

If I compile this with
gcj -o RegexTest --main=RegexTest          RegexTest.java
it works, and if I compile it with
gcj -o RegexTest --main=RegexTest --static RegexTest.java
it compiles but when running it gets an ExceptionInInitializerError 
caused by: java.util.MissingResourceException: Bundle gnu/regexp/MessagesBundle not found

As I reported before, the workaround is to create a subdirectory gnu/regexp
and put gnu/regexp/MessageBundle.properties in that subdirectory.

Good luck!!
Frits

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8
Locale: LANG=nl_NL@euro, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15)

Versions of packages libgcj6-dev depends on:
ii  gcj-4.0                       4.0.2-5j2  The GNU compiler for Java(TM)
ii  libgcj6                       4.0.2-5j2  Java runtime library for use with 
ii  libgcj6-awt                   4.0.2-5j2  AWT peer runtime libraries for use
ii  libgcj6-common                4.0.2-5j2  Java runtime library for use with 
ii  zlib1g-dev                    1:1.2.3-9  compression library - development

libgcj6-dev recommends no packages.

-- no debconf information

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8
Locale: LANG=nl_NL@euro, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15)

Versions of packages libgcj6-dev depends on:
ii  gcj-4.0                       4.0.2-5j2  The GNU compiler for Java(TM)
ii  libgcj6                       4.0.2-5j2  Java runtime library for use with 
ii  libgcj6-awt                   4.0.2-5j2  AWT peer runtime libraries for use
ii  libgcj6-common                4.0.2-5j2  Java runtime library for use with 
ii  zlib1g-dev                    1:1.2.3-9  compression library - development

libgcj6-dev recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
tag 327411 + wontfix
thanks

will not be fixed for gcj-4.1; current gcj-4.2/gcj-4.3 packages do not
provide a statically built libgcj (see wishlist report #448789).


--- End Message ---

Reply to: