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

Bug 333811

Summary: The generator produces in JET1 mode different code as the "old" JET generator
Product: z_Archived Reporter: Stephan Zehrer <eclipse>
Component: JetAssignee: Paul Elder <pelder.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pelder.eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Stephan Zehrer CLA 2011-01-09 09:54:40 EST
Build Identifier: 20100917-0705

The code of the generator in JET1 mode produces this line :

  protected final String NL = nl == null .....

and the original

  public final String NL = nl == null  ...


The EMF generator requires a public field. 
For compatibility i suggest to generat in JET1 mode a public NL String

Reproducible: Always

Steps to Reproduce:
1.generate a new JET project, switch to JET1 and add a template
2.convert a java project to a "old" JET project and add the same template
3.
Comment 1 Paul Elder CLA 2011-01-31 09:14:25 EST
Targeting fix for Helios SR2 (JET 1.1.1)
Comment 2 Paul Elder CLA 2011-01-31 10:14:16 EST
Fix committed to CVS on HEAD for 1.1.1/1.2.0