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

Compiler should verify classfile version for platform classes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.3.0
    • 1.2.0
    • tools
    • 1.3
    • x86
    • windows_nt
    • Verified



        Name: joT67522 Date: 01/14/98


        I have both JDK 1.1.5 and JDK 1.2beta2 installed on
        my computer.
        JDK 1.1.5 is in directory: Java
        JDK 1.2beta2 is in directory: Java-beta
        I have a batch file that I made to change the
        PATH and CLASSPATH environment variables between
        the two versions. I set the wrong path to the
        1.2beta2's classes.zip file
        (to 1.1.5's file instead), and javac crashed
        without hinting at what was wrong aside from saying
        that it had tried to execute an illegal instruction.
        Although this was a result of my error
        (incorrect class path in batch file), I think that
        it would be nice to have the COMPILER CHECK the
        VERSIONS of any LIBRARIES it is EXPECTING.
        (Review ID: 23092)
        ======================================================================

              gafter Neal Gafter (Inactive)
              johsunw Joon Oh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: