Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146870 - jython java launcher from dev-java/java-config-2 does not honor $CLASSPATH
Summary: jython java launcher from dev-java/java-config-2 does not honor $CLASSPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 12:56 UTC by Joel
Modified: 2006-09-10 02:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the launcher to prepend env's CLASSPATH to the package's classpath (java-config-2.launcher.CLASSPATH.patch,396 bytes, patch)
2006-09-08 13:34 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2006-09-08 12:56:19 UTC
As of jython-2.1-r7 (currently in the unstable branch), jython uses a Gentoo java launcher supplied by dev-java/java-config-2.  This launcher ignores the $CLASSPATH entries.

I suspect this problem may be shared by all packages that use dev-java/java-config-2, though jython is the only thing I use with $CLASSPATH set.

The old and stupid launcher supplied with jython and used in <jython-2.1-r6 works fine.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-08 13:34:31 UTC
Created attachment 96434 [details, diff]
patch for the launcher to prepend env's CLASSPATH to the package's classpath
Comment 2 Joel 2006-09-09 14:51:39 UTC
(In reply to comment #1)
> Created an attachment (id=96434) [edit]
> patch for the launcher to prepend env's CLASSPATH to the package's classpath 
> 

I'm sorry, I am unable to find the file to which this patch corresponds.  So far as I can tell, it is not part of java-config-2.0.27-r1, which is the latest in portage.  
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-09-09 15:19:41 UTC
(In reply to comment #2)

> I'm sorry, I am unable to find the file to which this patch corresponds.  So
> far as I can tell, it is not part of java-config-2.0.27-r1, which is the latest
> in portage.  
> 

betelgeuse@pena ~ $ qfile /usr/bin/gjl
dev-java/java-config (/usr/bin/gjl)

[U] dev-java/java-config
     Available versions:
        (0)     1.2.11-r1 1.3.5 1.3.5-r1
        (2)     2.0.27 2.0.27-r1
     Installed:           1.3.1-r1 2.0.27-r1(2)

Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-10 02:49:25 UTC
Released in java-config-2.0.28