Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320274

Summary: Backport 8.0 fix to 3.0.5p for invalid non-static function error message
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.0.5Flags: thatnitind: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Chris Jaun CLA 2010-07-19 10:45:36 EDT
The following statement is returning an invalid error message:

<script language="JavaScript">hX_4.onPageLoad();</script>

where hX_4 is a defined JS variable.

Cannot make a static reference to the non-static function onPageLoad()from the type HxG_4
Comment 1 Chris Jaun CLA 2010-07-19 10:46:47 EDT
Created attachment 174624 [details]
patch
Comment 2 Chris Jaun CLA 2010-07-19 10:47:39 EDT
This patch fixes the error message and also sets the default semantic validation flag to false as it is in 3.2.
Comment 3 Carl Anderson CLA 2010-07-27 08:21:38 EDT
Committed to R3_0_5_patches