This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226702 - Support new Device Access API permissions in ME SDK 3.3
Summary: Support new Device Access API permissions in ME SDK 3.3
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks: 227170
  Show dependency tree
 
Reported: 2013-02-26 09:05 UTC by Petr Somol
Modified: 2013-03-20 13:26 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2013-02-26 09:05:36 UTC
from Alex's e-mail:

Starting from ME SDK 3.3 Device Access API was dramatically changed and the set of these permissions is changed as well.

The new set of permissions is following:

  com.oracle.deviceaccess.adc
  com.oracle.deviceaccess.atcmd
  com.oracle.deviceaccess.atcmd.ATDevice.openDataConnection
  com.oracle.deviceaccess.counter
  com.oracle.deviceaccess.dac
  com.oracle.deviceaccess.generic
  com.oracle.deviceaccess.gpio
  com.oracle.deviceaccess.gpio.GPIOPin.setDirection
  com.oracle.deviceaccess.gpio.GPIOPort.setDirection
  com.oracle.deviceaccess.i2c
  com.oracle.deviceaccess.mmio
  com.oracle.deviceaccess.modem
  com.oracle.deviceaccess.power
  com.oracle.deviceaccess.spi
  com.oracle.deviceaccess.uart
  com.oracle.deviceaccess.watchdog
  com.oracle.deviceaccess.PeripheralManager.register
  com.oracle.deviceaccess.PeripheralManager.unregister
  com.oracle.deviceaccess.PeripheralManager.configure
  com.oracle.deviceaccess.PeripheralManager.list

As you can notice a lot of new permissions were introduced when following old ones were removed:
 com.oracle.deviceaccess.gpio.read
 com.oracle.deviceaccess.gpio.write
 com.oracle.deviceaccess.mmio.read
 com.oracle.deviceaccess.mmio.write

So, could you update the IMPNG permissions with the new ones for NB 7.3.1 (Note, that in this case NB 7.3.1 will not support ME SDK 3.2, only ME SDK 3.3 will be supported)?

Also, I'm not sure if it is too late or not for the similar fix in NB 7.3.
But if it is still possibility to update NB 7.3, could you update this permissions list in NB 7.3 as well?
Note, in case of NB 7.3 both MESDK 3.2 and MESDK 3.3 should be supported, so in case of NB 7.3 four removed permissions mentioned above should be kept in API Permissions Tab.
Comment 1 Petr Somol 2013-02-26 12:04:54 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/9713d2ec0549

for QA: according to ME team instructions, this fix is the one to be transplanted to NB7.3.1. Apart from that, we should also provide another one that would include the union of API permissions from ME SDK 3.2 and 3.3 and publish it as an update of NB7.3 at the update center.
Comment 2 Quality Engineering 2013-02-27 16:14:21 UTC
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9713d2ec0549
User: Petr Somol <psomol@netbeans.org>
Log: #226702 - Support new Device Access API permissions in ME SDK 3.3
Comment 3 Marian Mirilovic 2013-03-07 07:32:10 UTC
Petr,
I expect you will verify this bug by yourself as you are the reporter. Thanks in advance.
Comment 4 Petr Somol 2013-03-08 18:05:43 UTC
verified in trunk
Comment 5 Petr Somol 2013-03-08 18:53:42 UTC
according to ME team request I did not transplant 9713d2ec0549 directly, but created a modified version for release73:
http://hg.netbeans.org/releases/rev/83ab1408eade
Comment 6 Quality Engineering 2013-03-11 01:12:41 UTC
Integrated into 'releases', will be available in build *201303102200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/83ab1408eade
User: Petr Somol <psomol@netbeans.org>
Log: #226702 - Support new Device Access API permissions in ME SDK 3.3 (modified 9713d2ec0549)
Comment 7 Marian Mirilovic 2013-03-20 13:26:57 UTC
checked that correct changeset is available in release73 branch for patch 1 - verified