JDK-4337646 : sun/tools/jar/resources/jar.properties duplicated in rt.jar
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2000-05-11
  • Updated: 2024-10-09
  • Resolved: 2017-10-20
Related Reports
Relates :  
Relates :  
Description
The rt.jar file in the J2RE contains a file sun/tools/jar/resources/jar.properties as well as localized versions. The same 
files also exist in the J2SDK's tools.jar file. Why are these files in the J2RE? 
Are some of the strings also used by the java.util.jar package, or is there a 
bug in the make files?

Comments
no longer an issue
20-10-2017

EVALUATION From Zhenghua.Li@eng 2000-05-31: > As for your question, the problem is sort of complicated. There are > a number of files and resources in sun.applet and sun.security.tools > and sun.tools.jar that are repeated in both rt.jar and > tools.jar. There are certain dependencies within these packages, and it > gets more complicated as it gets to appletviewer) and historically it > has been hacked to use the repetition to solve the dependency problem. > And once a package is included in rt.jar, all its related resources get > bundled too. You are right we could fix the makefiles to be more smart, > but the real problem needs none trivial changes. > > I think the right solution is to put the utility classes in rt.jar and move > most of the tools stuff to tools.jar, it would probably involve surgery in > applet, security and jar implementation. norbert.lindenberg@Eng 2000-10-23 --------------------------------------------------------------------------------
23-10-2000