Bug 1268184 - Deprecated class/method used in code example
Summary: Deprecated class/method used in code example
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Documentation
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: brms-docs@redhat.com
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-02 03:22 UTC by Lyle Wang
Modified: 2020-03-27 19:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:02:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Reproducer project (5.81 KB, application/zip)
2015-10-02 03:23 UTC, Lyle Wang
no flags Details

Description Lyle Wang 2015-10-02 03:22:34 UTC
Document URL: 
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.1/html/Development_Guide/sect-Remote_Java_API.html#The_REST_Remote_Java_RuntimeEngine_Factory

Section Number and Name: 
16.4.1. The REST Remote Java RuntimeEngine Factory / Example usage

Describe the issue: 
Some deprecated classes / methods are used in the example code and, some cannot be compiled at all.

Suggestions for improvement: 
Check with development team regarding the recommended code example and correct accordingly.

Additional information: 
A reproducer project is uploaded, this is tested and compilable on JBDS 8.1.
Import this into JBDS and the deprecated / incorrect classes / methods will be marked automatically.

Comment 1 Lyle Wang 2015-10-02 03:23:24 UTC
Created attachment 1079326 [details]
Reproducer project

Comment 3 Lyle Wang 2015-10-02 03:32:20 UTC
The code in attached reproducer was corrected already.
The original example code in doc. page cannot be compiled.


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