Skip Headers
Oracle® Java Micro Edition Software Development Kit Release Notes
Release 8 EA 2 for Windows
E49310-01
 

 

Beta Draft: 2014-02-06

Oracle® Java Micro Edition Software Development Kit

Release Notes

Release 8 EA 2 for Windows

E49310-01

February 2014

Contents


What's New in This Release
Installation Prerequisites
Known Problems
Installation and Runtime Security Guidelines
Documentation Accessibility

What's New in This Release

The following items are new in the Oracle Java ME SDK 8 Early Access (EA) 2 release:

Installation Prerequisites

The Oracle Java ME SDK 8 EA 2 product has three distinct components:


Note:

The NetBeans 8.0 Beta must be run with JDK 1.7 in order to work with Oracle Java ME SDK 8 EA 2 plugins.


Supported Platforms

For working with Oracle Java ME SDK 8 EA 2, a minimal system configuration is:

Installing Oracle Java ME SDK 8 EA 2 Plugins

Plugins make Oracle Java ME SDK 8 EA 2 platform features available to NetBeans 8.0 Beta. Plugins are delivered in two bundles.

  • Java ME SDK Tools. Required.

  • Java ME SDK Demos. Optional, but useful for getting started quickly. The documentation refers to these demos to illustrate features.

    For more information on installing the Oracle Java ME SDK 8 EA 2 plugins, see the Oracle Java ME Embedded 8 Early Access Getting Started Guide for the Windows Platform.


    Note:

    The samples do not implement security measures. The "Installation and Runtime Security Guidelines" suggest how to maintain an environment in which sample code can be run safely.


Known Problems

Known Bugs

Table 1, "Known Bugs" lists the Oracle Java ME SDK 8 EA 2 bugs known to be in this release.

Table 1 Known Bugs

Bug Description

Connector.open() doesn't throw an exception while connecting to a closed port using the HTTP or HTTPS protocol

The exceptions that are reported by the Connector.open() method that are derived from IOException are typically defined by the underlying protocol. However, attempting to open a closed port using the HTTP or HTTPS protocol does not throw an exception as defined by the specification.

TCK: SignatureTest.html#SignatureTest_static test fails

The static signature test from the TCK fails.

[Raspberry Pi] Probe test makes I2C, SPI, UART not available

When starting a probe test which tries to identify the available DAAPI Peripherals, the system tries to open and then close devices by ID from broad range. After that completes, attempting to open and use any of I2C, SPI, or UART peripherals will result in a PeripheralNotAvailableException being thrown.

Workaround: Restart the Raspberry Pi after that to have I2C, SPI, UART peripherals available again.

DataOutputStream.close() never returns

After sending large amounts of data using a DataOutputStream repeatedly until the system throws an IOException, the code cannot close the OutputStream.

The Settings.setProperty functions do not change any of the system properties

After calling one of Settings.setProperty functions to set a system property, none of the properties are actually changed.

[Raspberry Pi]: Two TCK api/java_util/midp_overview/Service/index.html#Service tests fail

Two TCK tests fail regarding the MIDP Service functionality.

NullPointerException occurs when installing a Midlet that uses a Service Provider

When installing a Midlet that uses a service provider, a NullPointerException may occur during the install command.

TCK: event/EventManager/index.html#RegisterApplication Tests Result in an Abnormal VM termination

Several of the Register Application tests, as specified in the TCK, may result in an abnormal termination from the Java VM.

IOException in call to getLocalAddress()

In rare instances, an IOException may result in a call to UDPDataConnection.getLocalAddress().

NullPointerException occurs when calling MMIOEvent.getCapturedRegisterValue().byteValue().

When using the RawRegister EVENT_TRIGGER with a MMIOEventListener, while setting a value, the listener gets called expectedly, and a NullPointerException is thrown when calling MMIOEvent.getCapturedRegisterValue().byteValue().

[Qualcomm IoE]: Unable to launch feature tests with EmbeddedExternalDevice

While registering the Qualcomm IoE board as EmbeddedExternalDevice1, running the following command may throw an exception:

%ME_HOME%\bin\emulator.exe -Xdevice:EmbeddedExternalDevice1 -Xautotest:http://192.168.0.7:8080/test/getNextApp.jad

Unexpected ConnectionNotFoundException while using IMC

Trying to connect using the following command 'imc://*:sqe.test.imc.IMCClient:1.0;' should launch the IMCClient, but instead a ConnectionNotFoundException is thrown.

[Qualcomm IoE] GPIO23 and ADC-MUX-SEL cannot be opened

On the Qualcomm IoE board, GPIO pin 23 and the ADC-MUX-SEL device cannot be opened.

There is no SocketConnection.getAccessPoint() method

The SocketConnection.getAccessPoint() method is missing from this early access build.

Suite.getVersion() always returns null

The Suite.getVersion() method always returns null in this early access build.

The Device Manager crashes when a connected access point is removed and run again

When an Access Point added using code is removed using the Device Manager and the Device Manager is closed and run again, it will crash.

While debugging, not all watched variables and methods are evaluated

On occasion, when debugging using NetBeans, not all watched variables and methods are evaluated, and warning messages may appear from NetBeans. This happens when debugging on both the emulator and also the device.

TaskListener.notifyStatusUpdate(Task task, TaskStatus newStatus) may send wrong Task classname

On occasion, the specified AMS method may send the display name, not the class name.

Midlet START state cannot be moved to a STOP state when exceeding the maximum number of isolates

When starting a Midlet when there are already the maximum number of Midlets running, as specified by the max isolates property, the system will allow it to start, but will not allow it to be moved to the stop state.

Workaround: Do not run a number of Midlets exceeding the max isolates number in the configuration file.

An Access Point that is connected using the emulator may not be visible to code

If an access point is created (connected) using the emulator, the same access point may not be visible to any code that is running inside the emulator.

Properties of an Access Point that is connected using the emulator are not visible to code

If an access point is created (connected) using the emulator, the properties of that access point may not be visible to any code that is running inside the emulator.

ATDevice is present but not documented

An ATDevice with the ID of 13 is present, but does not appear in the document ion.

Profiler (CPU, Memory) on Orion does not work properly

IMlet profiling does not work on Orion through the NetBeans IDE. An IMlet appears on an emulator AMS with "not running" statu. It cannot be run or removed.

The SuiteListener#notifySuiteStateChanged method is not called

Although the device log shows that an installed suite is assigned to a client, the SuiteListener#notifySuiteStateChanged method is not called.

The set-property system.time.value command (in proxy CLI) malfunctions

The set-property system.time.value recognizes as correct the following range of dates: from 18-dec-1911 20:45:52 GMT to 24-jan-2048 03:14:07 GMTHowever, the time range from 18-dec-1911 20:45:52 GMT to 01-jan-1970 00:00:00 GMT is displayed in brew mp logger and treated by brew mp OS as an interval from 24-jan-2048 03:14:08 GMT to 07-feb-2106 06:28:15 GMT.

Time spontaneously changes after the board is reset

Right after your reset the board, the time is set to a proper value. However, in several seconds it may spontaneously increase.

The Orion board cannot restore connection after restarting the Device Connection Manager

After restarting the Device Connection Manager, the board cannot be connected again. The boards reboot helps.

After the board is removed it cannot restore connection.

After the board removal by means of the "Remove" button in the Device Connection Manager and further adding it by means of the "Add" button the board hangs in the "Connecting" state. The boards reboot helps.

MMIO Event: Unexpected Event happens

See the steps describe in the corresponding JIRA issue to reproduce the unexpected event.

MEEP-TCK_10 tests fails

The following MEEP TCK tests fails: api/javax_microedition/rms/RecordStore. tests fails: The reported error: Error opening record store file.

Can not install MIDletSuite that depends on LIBlet with SWM API

Although there are stack traces of exceptions in the log indicating that installation has failed, all MIDlets and LIBlets can be installed and started correctly. Exceptions do not influence the overall workability.

Timestamps in BrewMP logger and calendar output differ

The difference in BrewMP logger and calendar output constitutes 12 seconds, which indicates a bug in the calculating procedure.

Test fails on HttpsConnection

CLDC TCK tests under api/javax_microedition/io/HttpsConnection fail with IOException.


Documentation Accessibility

This release includes PDF documentation in the binary download. For an HTML version of the documentation that is suitable for screen readers, please visit the Java ME Developer Tools documentation page at http://docs.oracle.com/javame/developer.html and choose this version of Oracle Java ME SDK 8 EA 2.

When using NetBeans 8.0 Beta, see the online help topic ”About Accessibility” for a complete list of keyboard shortcuts.

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support

Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Installation and Runtime Security Guidelines

The Oracle Java ME SDK 8 EA 2 requires an execution model that makes certain networked resources available for emulator execution. These required resources might include, but are not limited to, a variety of communication capabilities between the Oracle Java ME SDK 8 EA 2 components. It is extremely important to note that the Oracle Java ME SDK 8 EA 2 installation and runtime system is fundamentally a developer system that is not specifically designed to guard against any malicious attacks from outside intruders. Given this, the Oracle Java ME SDK 8 EA 2 architecture can present an insecure operating environment to the Oracle Java ME SDK 8 EA 2 installation file system itself, as well as its runtime environment, during execution. For this reason, it is critically important to observe the precautions outlined in the following security guidelines when installing and running the Oracle Java ME SDK 8 EA 2.

To maintain optimum network security, Oracle Java ME SDK 8 EA 2 can be installed and run in a ”closed” network operating environment, meaning the Oracle Java ME SDK 8 EA 2 system is not connected directly to the Internet, or to a company Intranet environment that could introduce unwanted exposure to malicious intrusion. This is the ideal secure operating environment when it is possible. Oracle Java ME SDK 8 EA 2 does not require an ”Intranet” connection that supports network connections to systems outside the Oracle Java ME SDK 8 EA 2 architecture to intra-company resources.

An example of a requirement for an Internet connection is Oracle Java ME SDK 8 EA 2 running wireless functionality that requires a connection to the Internet to support the communications with the wireless network infrastructure that is part of the Java ME application execution process. Whether or not an Internet connection is required depends on the particular Java ME application running on Oracle Java ME SDK 8 EA 2. For example, some Java ME applications can use an HTTP connection. In any case, if the Oracle Java ME SDK 8 EA 2 is open to any network access you must observe the following precautions to protect valuable resources from malicious intrusion:


Oracle® Java Micro Edition Software Development Kit, Release 8 EA 2 for Windows

E49310-01

Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

This documentation is in pre-production status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.