Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Threads not marked as deprecated  (Read 1596 times)
0 Members and 1 Guest are viewing this topic.
Offline dranonymous

Junior Devvie

Hoping to become a Java Titan someday!

« Posted 2004-09-02 11:10:01 »

I am using threads in an app I'm writing and recently discovered I was 'pausing' them the wrong way.  When you look at the javadoc it says Thread.suspend() as deprecated, but when you compile with the deprecation warnings on, no warnings are generated.  This makes me think they wrote the javadoc text, but didn't actually mark the methods that way.  The other tip off is the individual method names don't have a since tag to them or show the normal deprecated text in the javadoc.

Can anyone confirm this?  Are there other situations where the methods aren't marked?

Dr. A>
Offline blahblahblahh

JGO Coder

Medals: 1

« Reply #1 - Posted 2004-09-03 18:14:46 »

The javadoc text comes DIRECTLY from the source code - that is, in fact, the entire point of javadoc, to be precisely accurate.

So I can only guess that you are using some broken distribution, or are using javadocs from a version different than the one you are running.

I certainly get deprecation warnings on the thread methods, so ...

malloc will be first against the wall when the revolution comes...
Offline dranonymous

Junior Devvie

Hoping to become a Java Titan someday!

« Reply #2 - Posted 2004-09-04 11:09:37 »

Well, just yesterday in fact, a friend and I were looking at this.  Turns out eclipse 2.x is acting dumb.  I've set the prefs to give an error on any deprecated methods I try and use, but it never registers anything.  The other warnings/errors show up fine.

Any ideas?

Dr. A>
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Malohkan

Senior Devvie

while (true) System.out.println("WOO!!!!");

« Reply #3 - Posted 2004-09-04 11:26:34 »

I have an idea... upgrade to 3.0 or 3.1 Smiley  3.0 is practically bug free except when you upgrade (or at least when I did) to Windows XP Service Pack 2, it will no longer be usable.  3.1 is SLIGHTLY buggy as I've found, since there's no official release yet, but it works under Service Pack 2.  But at any rate, you no longer have an excuse to use 2.x Smiley

3.0 M8 was the build I was using of 3.0, and I never found a bug in it until I found it couldn't run with SP2.  I think that'll be your best bet if you're worried about problems.

Admin and Game Developer at
Play Rimscape!    |    Play Conquer!
Pages: [1]
  ignore  |  Print  

EgonOlsen (39 views)
2018-06-10 19:43:48

EgonOlsen (21 views)
2018-06-10 19:43:44

EgonOlsen (41 views)
2018-06-10 19:43:20

DesertCoockie (187 views)
2018-05-13 18:23:11

nelsongames (122 views)
2018-04-24 18:15:36

nelsongames (121 views)
2018-04-24 18:14:32

ivj94 (862 views)
2018-03-24 14:47:39

ivj94 (123 views)
2018-03-24 14:46:31

ivj94 (758 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!