harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3103) [drlvm][build][kernel] kernel classes are always built w/o debug information
Date Tue, 06 Feb 2007 13:33:06 GMT

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

Alexei Zakharov closed HARMONY-3103.

My congratulations. 
The bug is closed.

> [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.

View raw message