Bug 851103 - Existing POJO model w/ nested classes (A$B$C) causing error during build package
Summary: Existing POJO model w/ nested classes (A$B$C) causing error during build package
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: manstis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-23 09:09 UTC by manstis
Modified: 2025-02-10 03:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GUVNOR-1911 0 Major Resolved Existing POJO model w/ nested classes (A$B$C) causing error during build package. 2012-11-21 06:33:07 UTC

Description manstis 2012-08-23 09:09:45 UTC
Description of problem:

See linked JIRA.

Version-Release number of selected component (if applicable):

See linked JIRA.

How reproducible:

See linked JIRA.

Steps to Reproduce:
1.
2.
3.
  
Actual results:

Nested classes cause a RTE.

Expected results:

Nested classes can be used in a POJO model.

Additional info:

Comment 2 Jiri Locker 2012-09-25 14:49:18 UTC
This is not a bug. Existing POJO models with nested classes can be used to build the package. The only step needed is fixing the import section of the package by removing old nested class import statements and adding them again (that will replace '$' separators by dots '.').

Comment 3 manstis 2012-09-25 14:57:56 UTC
The "fixing" is not automatic, so when importing a model with nested classes the $ is automatically replaced with ".". Likewise when adding an import the $ is replaced with ".". Before the fix for this JIRA you would have to manually view the "Advanced" imports\global view and manually change the $ to ".".

Comment 4 manstis 2012-09-25 14:58:42 UTC
LOL, typo in comment#3. It should read "The 'fixing' is *NOW* automatic..."

Comment 5 Jiri Locker 2012-09-25 15:14:58 UTC
OK, then it's verified. Thanks.

Comment 11 Red Hat Bugzilla 2025-02-10 03:20:34 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.