Issue434324

classification
Title: jythonc -A and dead java vars
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: normal Keywords:

Created on 2001-06-18.23:54:29 by anonymous, last changed 2001-07-27.19:52:20 by bckfnn.

Messages
msg322 (view) Author: Nobody/Anonymous (nobody) Date: 2001-06-18.23:54:29
It seems that if you have

++++++++++++++++++++++++++
package a;
class A {
  B b; //b never used
  ...
}
++++++++++++++++++++++++++

and

++++++++++++++++++++++++++
package a;
class B {
...
}
++++++++++++++++++++++++++

and

++++++++++++++++++++++++++
class C(A):
   ...
++++++++++++++++++++++++++


then

$ jythonc -j c.jar -A a c.py

will not include a/B.class in the jar file.
As a result

$java -cp c.jar C

will crash with a class a/B.class not found exception.

regards
Daniel Mahler
msg323 (view) Author: Finn Bock (bckfnn) Date: 2001-07-18.22:57:25
Logged In: YES 
user_id=4201

Added as test301
msg324 (view) Author: Finn Bock (bckfnn) Date: 2001-07-27.19:52:20
Logged In: YES 
user_id=4201

Fixed in depend.py: 2.7;
History
Date User Action Args
2001-06-18 23:54:29anonymouscreate