Motorola E680 Technical Manual - Page 81

Cldc 1.1

Page 81 highlights

19 CLDC 1.1 19 CLDC 1.1 This chapter covers the additional functionality of CLDC 1.1 as it pertains to the Motorola E680. This chapter assumes that the developer is aware of CLDC 1.0 and its uses on Motorola handsets. CLDC 1.1 is fully backwards compatible with CLDC 1.0. CLDC 1.1 Compliance The general goal of CLDC 1.1 is to make CLDC 1.0 compliant with the Java Language and Virtual Machine Specifications by reintroducing features such as floating point support and improved error handling capabilities. The following attributes will be supported for CLDC 1.1 compliance on the Motorola E680: • Floating point: • Weak reference • Classes Calander, Date and Time Zone to be most J2SE compliant • Thread objects to be compliant with J2SE. This requires the addition of Thread.getName and a few new constructors as listed in the table below. • Improved Error handling • The method System.getProperty with key "microedition.configuration" returns "CLDL-1.1" The following table lists the additional classes, fields, and methods that will be implemented for CLDC 1.1 compliance: Classes Additional Fields/Methods Comments System Classes Java.lang.Thread Thread (Runnable target, String name) Allocates a new Thread object with the given target and name Thread (String name) Allocates a new Thread object with the given name 81

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

19
CLDC 1.1
81
19
CLDC 1.1
This chapter covers the additional functionality of CLDC 1.1 as it pertains to the Motorola
E680. This chapter assumes that the developer is aware of CLDC 1.0 and its uses on
Motorola handsets. CLDC 1.1 is fully backwards compatible with CLDC 1.0.
CLDC 1.1 Compliance
The general goal of CLDC 1.1 is to make CLDC 1.0 compliant with the Java Language
and Virtual Machine Specifications by reintroducing features such as floating point support
and improved error handling capabilities.
The following attributes will be supported for CLDC 1.1 compliance on the Motorola E680:
Floating point:
Weak reference
Classes Calander, Date and Time Zone to be most J2SE compliant
Thread objects to be compliant with J2SE. This requires the addition of
Thread.getName and a few new constructors as listed in the table below.
Improved Error handling
The method System.getProperty with key “microedition.configuration” returns
“CLDL-1.1”
The following table lists the additional classes, fields, and methods that will be
implemented for CLDC 1.1 compliance:
Classes
Additional Fields/Methods
Comments
System Classes
Java.lang.Thread
Thread (Runnable target, String
name)
Allocates a new
Thread object with the
given target and
name
Thread (String name)
Allocates a new
Thread object with the
given name