[RFC][IcedTea-WEB]: Fix for PR765

Saad Mohammad smohammad at redhat.com
Mon Aug 8 13:39:07 PDT 2011


* Please ignore this patch. *

In this patch, I have used getMainJAR() to find the main jar file, but I 
have realized it isn't the best way to determine if the jar contains the 
main class. It has a dependency on the attribute, main="true", which is 
not ideal in this situation. If there are no jars which are marked as 
main="true", it will just return the first jar element.

However, I do think this patch can be a lead to an alternative solution 
which works similar. If all jar files are marked as 'lazy', it should 
initialize at least the very first jar file; therefore it would not stop 
the launch of the application in case the main class is located within a 
'lazy' jar.

I will get started on this. Please feel free to provide any feedback.

-- 
Cheers,
Saad Mohammad




More information about the distro-pkg-dev mailing list