Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333811 - The generator produces in JET1 mode different code as the "old" JET generator
Summary: The generator produces in JET1 mode different code as the "old" JET generator
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Jet (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Elder CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 09:54 EST by Stephan Zehrer CLA
Modified: 2020-05-01 16:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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