Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4030497

Compiler enters into infinite loop if unreadable class to be imported is given

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2beta3
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      To reproduce, do following:
      1. touch noRead.class
      2. chmod 0 noRead.class
      3. create test.java as following:
           import noRead;
           public class test { noRead var; }
      4. javac test.java

      it will say forever:
      error: I/O error in .//noRead.class
      error: I/O error in .//noRead.class
      error: I/O error in .//noRead.class
      error: I/O error in .//noRead.class
      ........

        Attachments

          Activity

            People

            Assignee:
            tturnidgsunw Todd Turnidge (Inactive)
            Reporter:
            sishidasunw Shoji Ishida (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: