| Summary: | build jikes to support encoding | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Palle Girgensohn <girgen> | ||||
| Component: | Individual Port(s) | Assignee: | Archie Cobbs <archie> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | archie | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Palle Girgensohn
2003-10-08 02:00:31 UTC
Responsible Changed From-To: freebsd-ports-bugs->archie Port maintainer. Palle Girgensohn wrote: > This patch makes jikes build with encoding support. > Encoding support is necessary to use jikes at least with apache-tomcat-4.1.27. Last time I checked, doing this caused jikes to randomly segfault. Has anything changed to fix that? Cheers, -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com I haven't had this problem, not yet anyway, but I can do some testing and share the results. Regards, Palle --On tisdag, oktober 07, 2003 20.32.06 -0700 Archie Cobbs <archie@dellroad.org> wrote: > Palle Girgensohn wrote: >> This patch makes jikes build with encoding support. >> Encoding support is necessary to use jikes at least with >> apache-tomcat-4.1.27. > > Last time I checked, doing this caused jikes to randomly segfault. > > Has anything changed to fix that? > > Cheers, > -Archie > > __________________________________________________________________________ > Archie Cobbs * Halloo Communications * http://www.halloo.com It seems to work just fine. I grabbed the class-library tar ball, unpacked
it and ran jikes on all the files. No problem. Jikes is linked with
libiconv-1.9.1_1 (latest). There are comments about iconv in the TODO file,
btw, that indicated there has been trouble. As I said, it seems to work
fine now.
Regards,
Palle
rambutan:sablevm-class-library-1.0.9$ time find . -name \*.java -print0 |
xargs -0 jikes -g -d classes -bootclasspath src:classes -classpath
src:classes -sourcepath src
Issued 1 lexical warning in
"src/gnu/java/rmi/registry/RegistryImpl_Stub.java":
60. private static java.lang.reflect.Method $method_bind_0;
^------------^
*** Lexical Warning: The use of "$" in an identifier, while legal, is
strongly discouraged, since it can conflict with compiler-generated names.
If you are trying to access a nested type, use "." instead of "$".
real 0m7.286s
user 0m3.489s
sys 0m0.474s
rambutan:sablevm-class-library-1.0.9$ echo $?
0
rambutan:sablevm-class-library-1.0.9$ find classes -type f -name \*class |
wc
1928 1928 88000
rambutan:sablevm-class-library-1.0.9$ find src -type f -name \*java | wc
1628 1628 64158
rambutan:sablevm-class-library-1.0.9$ time find . -name \*.java -print0 |
xargs -0 jikes -encoding ISO-8859-1 -g -d classes -bootclasspath
src:classes -classpath src:classes -sourcepath src
Issued 1 lexical warning in
"src/gnu/java/rmi/registry/RegistryImpl_Stub.java":
60. private static java.lang.reflect.Method $method_bind_0;
^------------^
*** Lexical Warning: The use of "$" in an identifier, while legal, is
strongly discouraged, since it can conflict with compiler-generated names.
If you are trying to access a nested type, use "." instead of "$".
real 0m8.596s
user 0m4.459s
sys 0m0.539s
rambutan:sablevm-class-library-1.0.9$ echo $?
0
rambutan:sablevm-class-library-1.0.9$
--On onsdag, oktober 08, 2003 09.04.09 -0700 Archie Cobbs
<archie@dellroad.org> wrote:
> Palle Girgensohn wrote:
>> I haven't had this problem, not yet anyway, but I can do some testing
>> and share the results.
>
> Thanks, that would be great... for example, I found that compiling
> the entire class library for SableVM (a free Java VM) - aka the
> "classpath" project - would trigger this problem.
>
> Classpath is at http://www.gnu.org/software/classpath
>
> Cheers,
> -Archie
>
> __________________________________________________________________________
> Archie Cobbs * Halloo Communications * http://www.halloo.com
State Changed From-To: open->closed Patch applied.. thanks! |