Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63301 - dev-java/javahelp-bin uses packed jars
Summary: dev-java/javahelp-bin uses packed jars
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Java team
URL: https://javahelp.dev.java.net/
Whiteboard:
Keywords:
Depends on: 168991 176971
Blocks: 69972 63304
  Show dependency tree
 
Reported: 2004-09-08 08:28 UTC by Thomas Matthijs (RETIRED)
Modified: 2007-06-15 22:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Matthijs (RETIRED) gentoo-dev 2004-09-08 08:28:18 UTC
Following the new java policy, packages shouldn't rely on packed jars, dependencies need to be added on our own packages and used.
Comment 1 Eddy Mulyono 2004-11-09 23:15:20 UTC
I'm trying to make an ebuild for javahelp-2.0.02.

I'm having trouble compiling from source. Some source files are missing (not included?) in javahelp-2_0_02.zip/jh2.0/src.jar. I looked at an older version's javahelp-1.1.3.zip/jh1.1.3/src.jar, but they're not there either.

Apparently, the classes are present in bytecode in javahelp-2_0_02.zip/jh2.0/javahelp/lib/jhall.jar.

Some of the offending classes are in package com.sun.java.help.impl:
XmlReader, ParserListener, Parser, ParserEvent, Tag, TagProperties, LangElement.

Any suggestions on where I should go with the ebuild?

(methinks that I can extract jhall.jar, and use the offending binary-only classes, but that would defeat the whole "anti-trojan" thing as mentioned in http://gentoo-wiki.com/Why_Build_Java_Code_From_Source).

Is this an upstream bug?
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-18 15:55:49 UTC
I haven't looked at the specifics, but anything that relies on com.sun.* which is not Sun's own stuff should be eyed with some suspicion. 

It may be worthwhile to report this as a bug upstream, but I fear you wont get much sympathy.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-08 13:02:55 UTC
Now it should be possible.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-06-15 22:03:01 UTC
javahelp-bin is package.masked and going away.