You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/02/02 14:15:12 UTC

[jira] Resolved: (HARMONY-3103) [drlvm][build][kernel] kernel classes are always built w/o debug information

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

Alexei Zakharov resolved HARMONY-3103.
--------------------------------------

    Resolution: Fixed

Vladimir, I've committed the fix at the revision 502596. Please verifiy that it solves the issue.  

> [drlvm][build][kernel] kernel classes are always built w/o debug information
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3103
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3103
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Any
>            Reporter: Vladimir Beliaev
>         Assigned To: Alexei Zakharov
>            Priority: Minor
>
> By default, DRLVM is built in debug mode, still DRLVM kernel classes are built w/o debug information - this should be fixed.
> In particular, if stack trace contains the kernel classes, then no line information is provided their. For example, stack strace from HARMONY-1930 has this issue (Class, Constrcutor and ReflectExporter are kernel classes):
> java.lang.IllegalAccessException: A member of the "class cl2221" with "" modifiers can not be accessed from the "class java.lang.Class"
>         at java.lang.reflect.ReflectExporter.checkMemberAccess(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at java.lang.Class.newInstance(Unknown Source)
>         at testClassNewInstance.test(testClassNewInstance.java:15)
>         at testClassNewInstance.run(testClassNewInstance.java:35)
> =======================
> The file <trunk>/working_vm/build/make/targets/build.java.xml contains the line 
>         <javac destdir="${java.build.dir}" source="${javac.source}"
>                 target="${javac.target}" debug="${java.debug.option}">
> which are supposed to build kernel classes in the mode defined in ${java.debug.option}. Still this variable is not set properly.
> Foe now if one needs to build kernel classes in debug mode, then one needs to set true to"'debug" in mentioned lines like:
>         <javac destdir="${java.build.dir}" source="${javac.source}"
>                 target="${javac.target}" debug="true">
> Thanks
> Vladimir Beliaev

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