Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] DirectorApplication error


I agree that doesn't look quite right. Please enter a bug report.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox

John




James D Miles <jdmiles@xxxxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

07/30/2009 05:05 PM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
p2-dev@xxxxxxxxxxx
cc
Subject
[p2-dev] DirectorApplication error





In the initializeServices method, line 420 of 3.5, we have
if
(profileId == null)
preservedProfile
= System.setProperty(PROP_P2_PROFILE, profileId);
else

System.getProperties().remove(
PROP_P2_PROFILE);

I believe this in error and it should be profileId != null. Setting property to null should throw an NullPointerException.
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top