You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2007/02/01 10:49:06 UTC
[jira] Commented: (HARMONY-1671) Tests for java -jar ... execution
[ https://issues.apache.org/jira/browse/HARMONY-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469388 ]
Richard Liang commented on HARMONY-1671:
----------------------------------------
Hello Anton,
1. I can also reproduce the first issue on my WinXP when the default code page is 936
2. I cannot reproduce the second issue with SUN JDK 1.5.0_07, which RI do you use?
3. IMHO, new String(<class body bytes>, "iso-8859-1").replaceAll("FOO", "BOO").getBytes("iso-8859-1") could fix the first issue.
Any comments?
Thanks a lot.
Richard.
> Tests for java -jar ... execution
> ---------------------------------
>
> Key: HARMONY-1671
> URL: https://issues.apache.org/jira/browse/HARMONY-1671
> Project: Harmony
> Issue Type: Test
> Components: Classlib
> Reporter: Anton Luht
> Assigned To: Alexey Petrenko
> Priority: Minor
> Attachments: Harmony-1671-Linux.patch, hyts_Bar.ser, hyts_Foo.ser, jar-exec.diff
>
>
> These are tests for -jar ... style Java execution. They contain regression tests for bug 1562 + various execution options:
> - CLASSPATH environment variable
> - -cp
> - -jar
> - Class-Path entry
> - Main-Class missing in jar (but found in jar referenced by Class-Path entry)
> - mix of .zip and .jar files in classpath
> All tests are positive - for the situations where class should be found (in other words, no negative - for 'class not found' tests)
> This patch also contains changes to Support_Exec class to support envp variable
> *.ser files attached should be put to <classlib root>\support\src\test\java\tests\resources
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.