harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4253) [jdktools][samsa] samsa wrapper does not handle -J options
Date Tue, 26 Jun 2007 07:24:26 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Popov closed HARMONY-4253.
-------------------------------


Verified in harmony-jdk-r550352. Closing this issue.

> [jdktools][samsa] samsa wrapper does not handle -J options
> ----------------------------------------------------------
>
>                 Key: HARMONY-4253
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4253
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>         Environment: Windows, Linux, harmony-jdk-r548946
>            Reporter: Ivan Popov
>            Assignee: Gregory Shimansky
>
> In Harmony samsa wrapper is uses as a universal wrapper for jdk tools written in java.
Most of these tools allow to use option -J to pass any options to underlaying JVM process.
Here is example for Sun JDK:
> > %SUN_JDK%\bin\javac -version
> javac 1.5.0_06
> javac: no source files
> Usage: javac <options> <source files>
> where possible options include:
>   -g                         Generate all debugging info
>   -g:none                    Generate no debugging info
>   -g:{lines,vars,source}     Generate only some debugging info
>   -nowarn                    Generate no warnings
>   -verbose                   Output messages about what the compiler is doing
>   -deprecation               Output source locations where deprecated APIs are used
>   -classpath <path>          Specify where to find user class files
>   -cp <path>                 Specify where to find user class files
>   -sourcepath <path>         Specify where to find input source files
>   -bootclasspath <path>      Override location of bootstrap class files
>   -extdirs <dirs>            Override location of installed extensions
>   -endorseddirs <dirs>       Override location of endorsed standards path
>   -d <directory>             Specify where to place generated class files
>   -encoding <encoding>       Specify character encoding used by source files
>   -source <release>          Provide source compatibility with specified release
>   -target <release>          Generate class files for specific VM version
>   -version                   Version information
>   -help                      Print a synopsis of standard options
>   -X                         Print a synopsis of nonstandard options
>   -J<flag>                   Pass <flag> directly to the runtime system
> > %SUN_JDK%\bin\javac -J-showversion -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
> javac 1.5.0_06
> javac: no source files
> Usage: javac <options> <source files>
> where possible options include:
>   -g                         Generate all debugging info
>   -g:none                    Generate no debugging info
>   -g:{lines,vars,source}     Generate only some debugging info
>   -nowarn                    Generate no warnings
>   -verbose                   Output messages about what the compiler is doing
>   -deprecation               Output source locations where deprecated APIs are used
>   -classpath <path>          Specify where to find user class files
>   -cp <path>                 Specify where to find user class files
>   -sourcepath <path>         Specify where to find input source files
>   -bootclasspath <path>      Override location of bootstrap class files
>   -extdirs <dirs>            Override location of installed extensions
>   -endorseddirs <dirs>       Override location of endorsed standards path
>   -d <directory>             Specify where to place generated class files
>   -encoding <encoding>       Specify character encoding used by source files
>   -source <release>          Provide source compatibility with specified release
>   -target <release>          Generate class files for specific VM version
>   -version                   Version information
>   -help                      Print a synopsis of standard options
>   -X                         Print a synopsis of nonstandard options
>   -J<flag>                   Pass <flag> directly to the runtime system
> For Harmony JDK tools using -J does not take any effect:
> > %HY_JDK%\bin\javac -version
> Eclipse Java Compiler 0.755, 3.3.0 milestone-7, Copyright IBM Corp 2000, 2007. All rights
reserved.
> > %HY_JDK%\bin\javac -J-showversion -version
> Eclipse Java Compiler 0.755, 3.3.0 milestone-7, Copyright IBM Corp 2000, 2007. All rights
reserved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message