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 29175 - Comments on JavaPlatform
Summary: Comments on JavaPlatform
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2002-11-29 16:35 UTC by Martin Ryzl
Modified: 2007-09-26 09:14 UTC (History)
1 user (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 Martin Ryzl 2002-11-29 16:35:23 UTC
Based on our discussion:
1) move PlatformInstall to api
2) getVendorString and getJavaSpecVersion should
not be final

java spec version may not be valid for all
platforms. For example, J2SE platforms are
identified by spec version (J2SDK 1.4), while J2ME
platforms are identified by configuration name and
version and profile name and version
(CLDC-1.0, MIDP-1.0)

http://java.sun.com/java2/whatis/
Comment 1 Svata Dedic 2002-12-04 15:16:35 UTC
* will make getVendorString() abstract in the API
* will factor out getJavaSpecVersion() into J2SE-specific interface
Comment 2 Tomas Zezula 2003-04-23 17:03:48 UTC
The PlatformInstall will be moved into Java Platofrm(JP) SPI.

JavaPlatform will change in the way Svata described above.

The getJavaSpecVersion is a bit harder, it is used also by
PlatformServices.

It would require extension of abstract JavaPlatform by the
method getPlatformType() which returns one of enum {SE, EE, ME}
and the concrete subclasses like SEPlatform, EEPlatform and MEPlatform
will provide additional methods for identification.
The same will be required for PlatformService.

Adding Pavel to cc list due to EE stuff.
Comment 3 Tomas Zezula 2003-04-30 08:59:53 UTC
Done as described on the projects-dev mailing list
Comment 4 Martin Ryzl 2003-04-30 10:04:09 UTC
please add a link to the thread on projects-dev. 
Comment 5 Tomas Zezula 2003-04-30 10:23:09 UTC
Here is a link to a discussion on projects-dev:
http://projects.netbeans.org/servlets/BrowseList?listName=dev&by=thread&from=18358&to=18358&first=1&count=12
Comment 6 Jan Becicka 2003-11-25 13:59:33 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 7 Jan Becicka 2003-11-25 14:08:20 UTC
---> CLOSED